Thursday, January 16, 2014

The first small problem decompilation


            
My classes. dex on dexjar2.bat directory, and run the CMD
C: \ Documents and Settings \ Administrator> d:

D: \> apk \ dex2jar-0.0.9.14 \ dex2jar.bat classes.dex
this cmd is deprecated, use the d2j-dex2jar if possible
dex2jar version: translator-0.0.9.14
dex2jar classes.dex -> classes_dex2jar.jar
. While process file: [classes.dex]
.. ROOT cause:
java.io.FileNotFoundException: File 'classes.dex' does not exist
at org.apache.commons.io.FileUtils.openInputStream (FileUtils.java: 56)
at org.apache.commons.io.FileUtils.readFileToByteArray (FileUtils.java: 40
)
at com.googlecode.dex2jar.reader.DexFileReader.readDex (DexFileReader.jav
a: 143)
at com.googlecode.dex2jar.v3.Main.doFile (Main.java: 63)
at com.googlecode.dex2jar.v3.Main.main (Main.java: 86)
Done.
Where the wrong brother, seeking advice
Reply:
Dex path behind you is wrong, because your current directory is D:, you can first cd apk \ dex2jar-0.0.9.14 then dex2jar.bat classes.dex

No comments:

Post a Comment