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, th
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.
in the newest versions the apk file should be located at /platforms/android/app/build/outputs/apk/release/
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!
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.
Are you using eclipse? If so, take a look at this tutorial. This will allow you to export to a .apk file.
http://examples.javacodegeeks.com/android/core/build-android-application-package-file-apk-using-eclipse-ide/
I am guessing they moved the location of the apk again. Here is my version and the new location:
>phonegap -v
8.0.0
location of apk after
>phonegap build android --release
[project_folder]\platforms\android\app\build\outputs\apk\release
Note the extra \app folder.