Permitting the backup
of an existing app
adb shell pm path com.the.app adb pull /data/app/com.the.app/base.apk
apktool d ../base.apk
apktool b base zipalign -v 4 base/dist/base.apk base-backup.apk
jarsigner –verbose –sigalg SHA1withRSA -digestalg SHA1 -keystore
~/.android.keystore base-backup.apk …