Apk decompile error: d2j-dex2jar command not found

前端 未结 7 1255
暖寄归人
暖寄归人 2021-02-05 17:15

I try to get source code from an .apk

I followed the steps from right here Is there a way to get the source code from an APK file? but on Step 2.4 when I wrote on my cm

7条回答
  •  一整个雨季
    2021-02-05 17:39

    for dex2jar 2.0 version please follow below steps to generate jar

    1. download dex2jar (https://sourceforge.net/projects/dex2jar/files/)
    2. extract folder
    3. goto folder in command prompt
    4. chmod u+x d2j_invoke.sh
    5. chmod u+x d2j-dex2jar.sh
    6. put desired apk to decompile in dex2jar folder
    7. sh d2j-dex2jar.sh -f -o output_jar.jar my_app.apk
    8. This will generate output_jar.jar in same folder

提交回复
热议问题