cmd cannot recognize dex2jar- Android Apk cmd cannot recognize dex2jar- Android Apk android android

cmd cannot recognize dex2jar- Android Apk


None of the above answers worked for me, I was able to get it working in the following way,There is no need of the classes.dex file. So follow the following instructions carefully:

  1. Download the latest version of dex2jar i was able to google it and get the latest one from sourceforge.just in case if you didnt get it http://sourceforge.net/projects/dex2jar/
  2. drop your apk file inside the dex2jar folder.

  3. open command prompt[win user] and navigate to that folder where you dropped the apk file.

  4. enter this command d2j-dex2jar.bat someApk.apk and you will get the jar file[read the jar file using jd-ui tool]for mac users refer this[point 4 in the link] for suitable terminal command http://sourceforge.net/p/dex2jar/wiki/UserGuide/


Use the command

d2j-dex2jar classes.dex

instead of

dex2jar classes.dex

Also make sure that u extracted the dex2jar file in the same folder as your apk source files kept in step 1 of given example.


If you are using dex2jar-2.x jar file than it is creating problem. Try to download dex2jar-0.0.9.15 jar file and then try that command.