parent
e6b2576b57
commit
79403f320f
3 changed files with 5 additions and 5 deletions
2
pom.xml
2
pom.xml
|
@ -237,7 +237,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.github.ThexXTURBOXx</groupId>
|
<groupId>com.github.ThexXTURBOXx</groupId>
|
||||||
<artifactId>dex2jar</artifactId>
|
<artifactId>dex2jar</artifactId>
|
||||||
<version>v23</version>
|
<version>v24</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.github.weisj</groupId>
|
<groupId>com.github.weisj</groupId>
|
||||||
|
|
|
@ -62,8 +62,8 @@ public class SmaliAssembler extends InternalCompiler
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
com.googlecode.d2j.smali.SmaliCmd.main(new String[]{tempSmaliFolder.getAbsolutePath(),
|
com.googlecode.d2j.smali.SmaliCmd.main(tempSmaliFolder.getAbsolutePath(),
|
||||||
"-o", tempDex.getAbsolutePath()});
|
"-o", tempDex.getAbsolutePath());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
//BytecodeViewer.handleException(e);
|
//BytecodeViewer.handleException(e);
|
||||||
|
|
|
@ -73,8 +73,8 @@ public class SmaliDisassembler extends InternalDecompiler
|
||||||
Dex2Jar.saveAsDex(tempClass, tempDex, true);
|
Dex2Jar.saveAsDex(tempClass, tempDex, true);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
com.googlecode.d2j.smali.BaksmaliCmd.main(new String[]{tempDex.getAbsolutePath(),
|
com.googlecode.d2j.smali.BaksmaliCmd.main(tempDex.getAbsolutePath(),
|
||||||
"-o", tempDexOut.getAbsolutePath()});
|
"-o", tempDexOut.getAbsolutePath());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
StringWriter sw = new StringWriter();
|
StringWriter sw = new StringWriter();
|
||||||
e.printStackTrace(new PrintWriter(sw));
|
e.printStackTrace(new PrintWriter(sw));
|
||||||
|
|
Loading…
Reference in a new issue