Reputation: 335
I have just built for release my first Android App. I signed it with a key using keytool.exe.
Then, I did the following. I uploaded to a website both files, the apk signed for release and the apk signed for debug.
Then, with my Android device I entered the website and clicked on the two file links. They both behaived equally. The files where downloaded in the same way. And I could install both by clicking on them once they were in the 'download' folder.
I expected some differences. For instance, the device automatically installing the release version when clicking directly from the website.
What are suposed to be the differences between a release and a debug apk file?
Thanks.
Upvotes: 1
Views: 2635
Reputation: 2995
As mentioned by Ali, apps must be signed and built as a Release version for the Google Play Store and for devices to allow installation.
On android device you can allow Unsigned packages, but this is not recommended unless testing your own.
The main difference between a debug and release would be the compile method and how it gets signed. This will not differ how a android device will access the APK.
If on the play store, the APK is pushed to your phone and installs. Linking or downloading a APK file from a website onto the device will only download the file, The user will still need to Open/Run/Install the application.
Upvotes: 1
Reputation: 9044
http://developer.android.com/tools/publishing/app-signing.html
Upvotes: 2