How Do I Sign An Android Apk Which Was Built With Phonegap Build?
Solution 1:
This was the solution.
I got the Android dev kit - http://developer.android.com/sdk/index.html
From there I used this video to get KeyTool: http://www.youtube.com/watch?v=IaXE2FUENFI
From there I could create a KeyStore. Make sure you keep a record of the Alias and Password (I wrote them down and did not store them on any electronic device) and the location of the keystore.
When you are in PhoneGap Build and you pull files from GitHub (which is the way I'm doing it) after the build is done you'll see there is a dropdown. Select "add a key" and upload your keystore.
Note: The keystore will usually be locked. You have to unlock it in order to build with it. It only stays unlocked for one hour.
You PhoneGap Build apk will now be appended with -release instead of the usual -debug.
It's now ready for uploading to Google Play!
Go Build! :)
Solution 2:
I have never used PhoneGap or signed an apk, but I found this on the phonegap.com website:
https://build.phonegap.com/docs/config-signing-android
Sounds like you can just add your signing key (How to get one) to your phonegap account and when a release build of your app is made with the PhoneGap Build they sign it.
Solution 3:
You need to provide Title, Alias and a Keystore File to PhoneGap Build.
- Generate a private key using keytool (comes with the Java SDK - so no Eclipse required)
- On your next PhoneGap Build be sure to enter the Information under Options>Add a key
- PhoneGap Build takes care of the rest.
As far as the keytool goes, someone else gave a short & sweet description of how to...
Post a Comment for "How Do I Sign An Android Apk Which Was Built With Phonegap Build?"