ajitsing / apkToJava

View android apk as java code in gui
http://www.singhajit.com/convert-apk-file-to-java-code/
MIT License
29 stars 7 forks source link

Not working ubuntu #3

Closed rahuldevanavar91 closed 6 years ago

rahuldevanavar91 commented 7 years ago

I am getting the following error in ubuntu

dex2jar //apkToJavaTmp/classes.dex -> classes-dex2jar.jar java.io.FileNotFoundException: File '/apkToJavaTmp/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.(DexFileReader.java:240) at com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:104) at com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:174) at com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:34) Done!

TheElementalOfDestruction commented 6 years ago

Does your file have multiple periods in it? Like "file.name.apk" because I have found that the program is unable to handle that.

ajitsing commented 6 years ago

@rahuldevanavar91 If you were trying to debug an apk which was having spaces or dots then that issue is fixed in 1.3.1. Let me know if you are still facing the issue.

ajitsing commented 6 years ago

Please retry with the latest version and reopen this issue if you still face the same problem.