Update dex2jar

This provides a better solution to #348
This commit is contained in:
Nico Mexis 2021-08-27 01:16:52 +02:00
parent e6b2576b57
commit 79403f320f
No known key found for this signature in database
GPG key ID: 27D6E17CE092AB78
3 changed files with 5 additions and 5 deletions

View file

@ -237,7 +237,7 @@
<dependency>
<groupId>com.github.ThexXTURBOXx</groupId>
<artifactId>dex2jar</artifactId>
<version>v23</version>
<version>v24</version>
</dependency>
<dependency>
<groupId>com.github.weisj</groupId>

View file

@ -62,8 +62,8 @@ public class SmaliAssembler extends InternalCompiler
}
try {
com.googlecode.d2j.smali.SmaliCmd.main(new String[]{tempSmaliFolder.getAbsolutePath(),
"-o", tempDex.getAbsolutePath()});
com.googlecode.d2j.smali.SmaliCmd.main(tempSmaliFolder.getAbsolutePath(),
"-o", tempDex.getAbsolutePath());
} catch (Exception e) {
e.printStackTrace();
//BytecodeViewer.handleException(e);

View file

@ -73,8 +73,8 @@ public class SmaliDisassembler extends InternalDecompiler
Dex2Jar.saveAsDex(tempClass, tempDex, true);
try {
com.googlecode.d2j.smali.BaksmaliCmd.main(new String[]{tempDex.getAbsolutePath(),
"-o", tempDexOut.getAbsolutePath()});
com.googlecode.d2j.smali.BaksmaliCmd.main(tempDex.getAbsolutePath(),
"-o", tempDexOut.getAbsolutePath());
} catch (Exception e) {
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));