真的, 這真的很簡單, 只要兩個步驟
首先, 你要有兩個工具:
步驟1: 拿dex2jar把apk或是dex轉成jar (裡面包含從dex轉譯過來的class file)
command > ./dex2jar.sh ~/SKeyTest.apk
version:0.0.7.8-SNAPSHOT
5 [main] INFO pxb.android.dex2jar.v3.Main - dex2jar /Users/julianshen/SKeyTest.apk -> /Users/julianshen/SKeyTest.apk.dex2jar.jar
Done.
步驟2: 拿JD-GUI開啟/Users/julianshen/SKeyTest.apk.dex2jar.jar (轉出的檔名即是原始檔SKeyTest.apk加上dex2jar.jar)
結果就像這樣: