So im trying to publish my new android app to the Google PlayStore. From reading this tutorial I understand that I have to sign my app before releasing it to the PlayStore. I did exactly the same as in the tutorial. After uploading it to the PlayStore I tried to install the App on my device. I got the message "Package file was not signed correctly". This is strage.. In xamaran studio I get the message "Package succesfully signed".
If I try to install the App from the apk on the device I get the message "Unable to install"
What could be wrong here?
Im using Xamarin Studion on a Mac.
Found the problem..This is a JAVA tooling problem. This occurs frequently with mixing JDK and JRE tools on the system.
DO NOT USE THE TOOLS FROM Java 7!
Only use the tools from JDK 6. You can check what version you have by typing:
java -version
If you are still unsure whether the signing was succesfull you can type:
which jarsigner
jarsigner -verify -verbose -certs myapp.apk
When publishing on a Mac, I automate the process using rake. This gist is a sample rake file showing how to do so. This rake file will version the assembly, compile the application, and then sign/zipalign the APK.
Note that the Albacore gem must also be installed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With