Skip to content

Instantly share code, notes, and snippets.

@champierre
Created March 20, 2012 14:05
Show Gist options
  • Save champierre/2135971 to your computer and use it in GitHub Desktop.
Save champierre/2135971 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