X

Geertjan's Blog

  • July 8, 2015

Android Release APK via Cordova in NetBeans IDE (Part 1)

Geertjan Wielenga
Product Manager

To create the Android release APK via Cordova in NetBeans IDE, you need to add the '--release' flag to the 'build-android' Ant target in 'nbproject/build.xml'. Click to enlarge the image below:

The first time you build the project, the 'create-android' target will be run. That uses the 'add' command on Cordova, creating the 'android-debug.apk' and 'android-debug-unaligned.apk'. Subsequent builds of the project will automatically call the 'build-android' target, which uses the 'build' command on Cordova, where you have added the '--release' switch, which will automatically create 'android-release-unsigned.apk'.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha