Skip to content

Instantly share code, notes, and snippets.

@Epictetus
Forked from champierre/gist:2135971
Created March 24, 2012 22:47
Show Gist options
  • Save Epictetus/2188762 to your computer and use it in GitHub Desktop.
Save Epictetus/2188762 to your computer and use it in GitHub Desktop.
Steps to make Android APK file created by App Inventor publishable
# apktool d -s sample.apk sample
# cd sample
# vi AndroidManifest.xml
- Add android:versionCode="1" to manifest tag
- Add android:versionName="1.0" to manifest tag
- Delete android:debuggable="true" from application tag
# apktool b sample sample-m.apk
# jarsigner -keystore sample.keystore -signedjar sample-s.apk sample-m.apk alias
# zipalign 4 sample-s.apk sample-z.apk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment