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
Add permission with: chmod +x d2j-dex2jar.sh Then run it with: ./d2j-dex2jar.sh app.apk
If you have downloaded the d2j-dex2jar-2.x then it would not contain the d2j-dex2jar.sh file
so, try to download the dex2jar-0.0.9.15 from the link dex2jar-0.0.9.15
Finally extract this zip file and you will find the d2j-dex2jar.sh file.
Hopefully this will help you!
for dex2jar 2.0 version please follow below steps to generate jar
you must use dex2jar-0.0.9.15 to decompile apk older version dos'nt work correctly because missing some files via extension bat
place all the apk file, coverted zip, apktool, apktool install, dex2jar, jd-gui folders under a single folder... open command prompt(admin).. then goto the directory of your newly created folder.. then type... d2j-dex2jar classes.dex , press enter... thats it ur problem is solved...cheezzz
no need to add any xtra permissions...it workwed for me..it'll work for you too...
Use dex2jar classes.dex
instead of d2j-dex2jar classes.dex
And please check which version of dex2jar is with you.
if it is dex2jar-2.x jar file then , please try to download dex2jar-0.0.9.15 jar file.