não consigo gerar apk ionic and baixei sdk android estudio and fica dando esse erro [ERROR] An error occurred while executing the cordova subprocess

Cordova build Android
Check Java JDK and Android SDK versions
ANDROID_SDK_ROOT = undefined (recommended setting)
Request Check for JDK 8 (& # 39; 1.8. * & # 39;) Failed! Detected version: 11.0.2
Check the environment variable ANDROID_SDK_ROOT / JAVA_HOME / PATH.
(ERROR) An error occurred while running the cordova subprocess.

    cordova build android exited with exit code 1.

    Re-running this command with the --verbose flag may provide more information.

bitcoin core – Explanation for executing complex scripts with OP_CHECKLOCKTIMEVERIFY

I quote this example for BIP65

BIP 65 has this bitcoin script code


And with this Bitcoin ScriptSig it is possible to unlock the transaction

  • Now with this ScriptSig 0 0
  • after 3 months with this ScirpSig 0 1

But I do not understand this part of if-then-else


When is it executed and what do I not understand in the if-then-else state?

terminal – Executing bless to place boot files failed

I just cloned the internal hard drive of a MacBook Pro 2013 to an SSD drive, but I still get the message "Running Bless to save startup files failed" when I try to boot from there.

I tried to enter this command in the terminal diskutil apfs updatePreboot /Volumes/Macintosh HD/
but it still does not work. Does anyone have suggestions?

Need help executing the PowerShell command for the SharePoint client ID?

By referring to myself, I see that I have to execute the command, but when I try to execute I get under mistake

PowerShell command

When I run, I am getting under error I am new to Powershell and I do not know what is wrong, I do that I just installed Powershell and from the windows I search Powershell and I run the command


Spring Boot – Error executing UT – BeanCreationException No property update found. Custom repository

While running under UT & # 39; CarRepositoryTest & # 39; the following error is displayed: Is a configuration missing here?

Trigger: org.springframework.beans.factory.BeanCreationException: Error creating bean with name: itemRepository & # 39 ;: call of init method failed; nested exception is java.lang.IllegalArgumentException: Failed to create the query for the public abstract void com.dms.repository.interfaces.CustomItemRepository.update (java.util.List) method! No real estate update was found for the type InventoryItemEntity!

Commented with UT with EnableJpaRepositories ((basePackages and repositoryFactoryBeanClass)

@EnableJpaRepositories(basePackages = {"com.dms.repository",
                        repositoryFactoryBeanClass = BaseRepositoryFactoryBean.class)
@EntityScan(basePackageClasses = Car.class)
public class CarRepositoryTest {
    @Autowired private CarRepository repository;
    @Autowired private TestEntityManager testEntityManager;

    public void getCar_returnsCarDetails() throws Exception {
        final String s = GenerateUUID.generateUUID();
        Car savedCar = testEntityManager.persistFlushFind(new Car(s, "hybrid"));
        Car car = this.repository.findByName(s);
        assertThat(car.getName(), is(s));
        assertThat(car.getType(), is("hybrid"));

@EnableJpaRepositories( basePackages = "com.dms.repository",
                        entityManagerFactoryRef = "entityManagerFactory",
                        transactionManagerRef = "transactionManager",
                        repositoryFactoryBeanClass = BaseRepositoryFactoryBean.class)
public class JpaConfiguration {

package com.dms.repository;
public class ItemRepositoryImpl implements CustomItemRepository {
    private EntityManager em;
    public void update(List dtos) {

package com.dms.repository.interfaces;
public interface CustomItemRepository {
    void update(List dtos);

package com.dms.repository;
public class BaseRepositoryFactoryBean, T,
        I extends Serializable> extends JpaRepositoryFactoryBean {


package com.dms.repository;
public class BaseRepositoryImpl extends SimpleJpaRepository implements BaseRepository {
    private final EntityManager em;
    public Specification searchUsingRSQLParser(String query) {
        return new RSQLParser().parse(query)
                .accept(new CustomRsqlVisitor<>());

Which configuration should be added / changed so that UT does not fail with a custom repository?

debian – Subversion error: svn: E120171: Error executing context: An error occurred during SSL communication

I get this error when checking out.

svn: E170013: Unable to connect to a repository at URL 'https://some.host/some/repo/'
svn: E120171: Error running context: An error occurred during SSL communication

$ svn –version

svn, version 1.10.4 (r1850624)
   compiled Jul 28 2019, 02:44:06 on x86_64-pc-linux-gnu

Copyright (C) 2019 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) modules are available:

* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - using serf 1.3.9 (compiled with 1.3.9)
  - handles 'http' scheme
  - handles 'https' scheme

The following authentication credential caches are available:

* Plaintext cache in /home/kusan/.subversion
* Gnome Keyring
* GPG-Agent
* KWallet (KDE)

Please help me to solve this problem. I'm on a clean install of Debian 10. It worked well in Debian 9. Thank you in advance.

Java – What is a good design pattern for executing actions in a game program?

Suppose you want to write a turn-based strategy game. The game is as follows: In each turn, one player performs one action in the game and the next player does the same, and so on.

So I wanted to design the classes and how they interact with each other. And here is my design: We have 3 classes. Game, action and player. In each round, the game object asks the current player about his action. Each action then has a Perform method that retrieves the game object and performs the action on the game object.

My question is: Does this design violate the encapsulation principle? Because the game passes to the Action object, which changes the variables (the state of the game) in the Game object. Is there any other design that is better than this?

Thank you in advance.