Android sencha packaging error - undocumented parameter?

There is no parameter in my sencha configuration, I can not determine where it is created from the assembly from.

Running sencha package build config.json

With the configuration specified in the sencha docs file, the tool generates the command:

android create project --target android-7 --name appname --activity STActivity --path apppath --package pkg

which generates errors

Failed to create android project. Failed to package the application. [ERROR] Error: Target ID is invalid. Use the "Android List Targets" to get the target identifiers.

similar complaints on sencha forums. Has anyone found a solution to this problem?

+7
source share
2 answers

Use the Android SDK manager to install the level 7 platform. If you do not need something from a higher level in your application, it should work.

+4
source

If this does not work, you can try another alternative: create an android project using the cordova command line interface

 $ cordova create hello com.example.hello HelloWorld 

and then package the sencha application using

 sencha app build package 

and paste this content into the assets folder / www andorid cordova.

0
source

All Articles