Search code examples
sencha-touchsencha-touch-2sencha-architect

Native Android build in Sencha Architect for Mac


Im using Sencha Architect in a iMac, but I can't find the option to native build for Android.

In the Sencha webpage I found a image that shows options to build web app, android app and iOS app. (I can't post the image cos I don't have 10 reputation :'( ...)

But I don't have that option, in my Sencha Architect I only have :Build web app or Native Build (IOS). How do I add the Android option?

Thanks :D


Solution

  • Ok so I figure out how to build from the terminal. First is necessary to have the ANDROID_HOME set up:

    export ANDROID_HOME=/your-path/

    export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools

    Then navigate to the architect project:

    phonegap build android —release

    you should find a new folder called android with the apk