Skip to content

Instantly share code, notes, and snippets.

@recter
Last active December 31, 2015 22:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save recter/8051740 to your computer and use it in GitHub Desktop.
Save recter/8051740 to your computer and use it in GitHub Desktop.
Apktool 命令要例

Apktool 命令要例

反编译:apktool d v.apk v_dir

此时可对文件v_dir文件夹的内容做修改

回编译:apktool b v_dir v_new.apk

签名:jarsigner -verbose -sigalg MD5withRSA -digestalg SHA1 -keystore rect.keystore

-storepass shadowkong -signedjar v_new_signed.apk v_new.apk rect.keystore

优化:zipalign -f -v 4 v_new_signed.apk demo.apk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment