I'm using Mac OSX(10.7) and trying to extract java file from a android apk. So i downloaded apk and then copied dex2jar file from http://code.google.com/p/dex2jar/
After extracting dex file from apk(classes.dex), i had unzipped dex2jar and opened termial changed directory path to dex2jar and executed as below
my-MacBook-Pro:dex2jar-0.0.9.11 my$ **dex2jar.sh classes.dex**
but it says *-bash: dex2jar.sh: command not found*
I checked in directory and dex2jar.sh is present. What is the mistake i'm doing
Try ./dex2jar.sh . My guess is this directory isn't in your $PATH, so your system doesn't know where to find it. The ./ will tell it to look in the current directory.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With