Reputation: 747
Followed the steps by Steven Anderson here Build android release apk on Phonegap 3.x CLI
I have an existing keystore created using eclipse for an Android cordova 2.4.0 project
I created the ant.properties file under /platforms/android with the following two entries
key.store=/Users/xxx/Documents/Android_Key_Store/myApp_Key_Store.keystore key.alias=myApp
Now when I give cordova build --release command I only get android-release-unsigned.apk it is not prompting me to enter the password for my keystore
Thanks in advance for your help
Upvotes: 2
Views: 1111
Reputation: 6960
Following the steps mentioned in http://shallowsky.com/blog/programming/cordova-create-signed-app.html, was able to build signed apk in release mode.
Creating release-signing.properties
was the important step. I use cordova 5.4.1
version
Upvotes: 0
Reputation: 6029
Also add:
key.store.password=KeystorePWD
key.alias.password=AliasPWD
Use the plain text version of each password.
Upvotes: 1