用apktool生成classes.dex 文件

  • Post author:
  • Post category:其他


Sounds like you want to decode an application without disassembling the

classes.dex

file to smali. In Apktool you can utilize the

-s / --skip-sources

parameter to avoid this. Apktool will simply pass on the

classes.dex

instead of disassembling it.

Then you can modify it directly however you are. Then recompile with (

apktool b

) and it will copy the

classes.dex

into final built apk.

eg:

java -jar apktool_2.3.4.jar -s d crackme02.apk