Where Is Apk File Stored After Phonegap Android Build Is Successful?
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:
Are you using eclipse? If so, take a look at this tutorial. This will allow you to export to a .apk file.
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?"