Skip to content Skip to sidebar Skip to footer

Where Is Apk File Stored After Phonegap Android Build Is Successful?

I don't understand where can I find my package that is compiled so I can copy it into my device and install it from there. What I did is create an empty project, then made build on

Solution 1:

You can change the name of the app after to create the project, in the file:

ProjectFolder/www/config.xml

After that, you have to build again the project. If you want the release version, go to

ProjectFolder/platforms/android/cordova

and then execute the command:

cordova build --release

This creates an unsigned release APK at ProjectFolder/platforms/android/bin folder, called YourAppName-release-unsigned.apk.

Solution 2:

Phonegap 5.4.0 puts them in platforms/android/build/outputs/apk

I ran phonegap build --release to do this. Still trying to figure all this out however!

Solution 3:

Solution 4:

Check out platforms/android/build.xml for where "HelloWorld" comes from, maybe. In my case, I have a line that says

<project name="CordovaApp"default="help">

and my app gets named "CordovaApp-release.apk", instead of what I have in config.xml. I assume the "cordova platform add android" is doing something slightly wrong, but not entirely sure.

Solution 5:

in the newest versions the apk file should be located at /platforms/android/app/build/outputs/apk/release/

Post a Comment for "Where Is Apk File Stored After Phonegap Android Build Is Successful?"