SDK Update 60 -> 63/64: Error encountered. Aborting

Hi there,

I'm wondering if anyone tried to update to the latest SDK (63 or 64)?
The thing is that we are trying to update it from version 60.0.732-1.4.2-2 to version 63.0.741-1.4.2-2 or 64.0.744-1.4.2-2, however, the process interrupts on "Starting 'app-icons-android' with the error "Error encountered. Aborting!".

It happens when updating the app (./sdk init-native) as well as when generating a new one ($SUGAR_MOBILE_SDK_HOME/<version>/sdk/generate-app).

Homebrew and node are updated to the latest version
jdk-11.0.19

There is no further explanation in the logs, only "Error encountered. Aborting!".



Has anyone run into the same problem and maybe addressed it?

Thank you.

Parents
  •    could you please provide exact command that you are executing to generate an app?
    i am specifically interested if there are any params provided to generate-app script

    also

    please try to run:

    cd $SUGAR_MOBILE_SDK_HOME/64.0.744-1.4.2-2

    ./sdk/generate-app

    does it work for you?

  • Hi   ,

    As per the command to generate an app - there are no params.
    For the new app:
    $SUGAR_MOBILE_SDK_HOME/64.0.744-1.4.2-2/sdk/generate-app

    For the updating from the previous sdk version:
    cd mobileapp
    ./sdk init-native

    We tried to run the command you suggested, but unfortunately, the result is the same:

  • got it

    what are your current node version and java versions?

    are you on Linux os?

    also it would be helpful if you attached all terminal logs starting from ./generate-app invocation

  • node v21.1.0
    Homebrew 4.1.19
    yarn 1.22.19
    jdk-11.0.19

    Linux, yes (debian 12)

    Attaching logs:
    logs.txt

  • tried your command and it worked well for me 

    i am on Mac though
    i suggest following

    please try

    1. remove node_modules folder (rm -rf node_modules)

    2. switch to node v18.16.0 (this version will be used during generate-app script)

    3. yarn install to install modules under this node version

    4. completely remove folder with existing app (invocation)

    5. run generate-app again

    if it doesn't help i suggest trying the same with java version 18

Reply
  • tried your command and it worked well for me 

    i am on Mac though
    i suggest following

    please try

    1. remove node_modules folder (rm -rf node_modules)

    2. switch to node v18.16.0 (this version will be used during generate-app script)

    3. yarn install to install modules under this node version

    4. completely remove folder with existing app (invocation)

    5. run generate-app again

    if it doesn't help i suggest trying the same with java version 18

Children