- Run
phonegap build android
from the folder containingwww
folder cd
to this pathplatforms/android/
- Make sure
ant.properties
in this folder contains these keys and the right values
key.store=
key.alias=
key.store.password=
key.alias.password=
- increment the
versionCode
inAndroidManifest.xml
in this folder cd
toant-build
folder from this folder- run
./build --release
in this folder.
Now you have a bunch of .apk files in this folder. The one with the name <Project_Name>-release.apk
is what you can upload to Google play.
References: