Closed vibin closed 4 years ago
It seems to me that dex2jar cannot convert this classes.dex file for some reason. The reason fernflower fails, is because the JAR it it requested to decompile, does not exist.
The library/temp folder is empty due to the cleanup actions of APC upon crashing.
Please try to use APKTool and dex2jar manually to see if they crash at some point, as I do not think this is related to APC itself. Also check if the installation of all tools is successful.
Doesn't dex2jar expect a classes.dex? I think the issue is I gave a plain old JAR (instead of an APK/dex file) as input to APC. Is there a workaround?
As its name suggests, dex2jar expects a classes.dex file. If you want to decompile a JAR, you can use one of the decompilers in the library folder and use that manually. In the Decompiler.java class in the source, you will find the default command line arguments that AndroidProjectCreator uses for the given programs. Note that AndroidProjectCreator is meant to decompiler an APK into a project, not a JAR.
Since this issue has been resolved, I'll close it.
Script fails with NoSuchFileException on decompiling with fernflower
JAR download link: https://drive.google.com/file/d/1ZzRccZ-h7Kt-Zl7hlB8nksx6TtJ8Nu_O/view?usp=sharing Java version: 1.8.0_102 Mac OS version: 10.14
Logs:
I have looked into
library/temp
folder and it is empty.