We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi!
1) Problem: I need to give to another user my application "foo", so that he can install it on his Android tablet.
2) What I did: I pressed the button "Export package", that correctly created the folder "Android" inside my sketch folder. Inside "Android/bin" I could find 3 different apk files: foo_release_signed.apk; foo_release_signed_aligned.apk; foo_release_unsigned.apk. Then I sent the user the file foo_release_signed.apk. He was able to install it and run it (after disabling some security control).
3) Question: Please, can anyone explain me the differences between the 3 apk files? It is the first time I run an operation like this, I'm wondering if I sent the user the right file (it works, ok, but maybe it is better to share another file, I do not know).
Thanks a lot! Valerio
Answers
@valerio_sperati::: in order to transmit your app to end users you have to export it as a signed package zipalign is the way that android use to optimize the data for your app
https://developer.android.com/studio/command-line/zipalign.html
so in your case=== foo_release_signed_aligned.apk