mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-01 22:54:24 +02:00
Merged in v1.3.4 smali/baksmaili/dexlib. Updated doc to reflect github
This commit is contained in:
parent
ca0f7ec0bb
commit
fa2afc3598
@ -49,6 +49,12 @@
|
|||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>apktool-lib</artifactId>
|
<artifactId>apktool-lib</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
|
<exclusions>
|
||||||
|
<exclusion>
|
||||||
|
<artifactId>baksmali</artifactId>
|
||||||
|
<groupId>brut.apktool.smali</groupId>
|
||||||
|
</exclusion>
|
||||||
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<artifactId>common</artifactId>
|
<artifactId>common</artifactId>
|
||||||
@ -62,5 +68,10 @@
|
|||||||
<version>1.3.4-ibot7</version>
|
<version>1.3.4-ibot7</version>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>brut.apktool.smali</groupId>
|
||||||
|
<artifactId>baksmali</artifactId>
|
||||||
|
<version>1.3.4-ibot8</version>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
@ -263,7 +263,7 @@ public class Main {
|
|||||||
" if|install-framework <framework.apk> [<tag>]\n" +
|
" if|install-framework <framework.apk> [<tag>]\n" +
|
||||||
" Install framework file to your system.\n" +
|
" Install framework file to your system.\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
"For additional info, see: http://code.google.com/p/android-apktool/"
|
"For additional info, see: https://github.com/iBotPeaches/brut.apktool"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -80,17 +80,6 @@
|
|||||||
<artifactId>common</artifactId>
|
<artifactId>common</artifactId>
|
||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>brut.apktool.smali</groupId>
|
|
||||||
<artifactId>smali</artifactId>
|
|
||||||
<version>${smaliVersion}</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>brut.apktool.smali</groupId>
|
|
||||||
<artifactId>baksmali</artifactId>
|
|
||||||
<version>1.3.4-ibot7</version>
|
|
||||||
<type>jar</type>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>brut.apktool.smali</groupId>
|
<groupId>brut.apktool.smali</groupId>
|
||||||
<artifactId>util</artifactId>
|
<artifactId>util</artifactId>
|
||||||
@ -122,12 +111,6 @@
|
|||||||
<artifactId>xmlunit</artifactId>
|
<artifactId>xmlunit</artifactId>
|
||||||
<version>1.3</version>
|
<version>1.3</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>brut.apktool.smali</groupId>
|
|
||||||
<artifactId>dexlib</artifactId>
|
|
||||||
<version>1.3.4-ibot7</version>
|
|
||||||
<type>jar</type>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.google.guava</groupId>
|
<groupId>com.google.guava</groupId>
|
||||||
<artifactId>guava</artifactId>
|
<artifactId>guava</artifactId>
|
||||||
@ -140,6 +123,21 @@
|
|||||||
<version>3.1</version>
|
<version>3.1</version>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>brut.apktool.smali</groupId>
|
||||||
|
<artifactId>baksmali</artifactId>
|
||||||
|
<version>1.3.4-ibot8</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>brut.apktool.smali</groupId>
|
||||||
|
<artifactId>dexlib</artifactId>
|
||||||
|
<version>1.3.4-ibot8</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>brut.apktool.smali</groupId>
|
||||||
|
<artifactId>smali</artifactId>
|
||||||
|
<version>1.3.4-ibot8</version>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<pluginRepositories>
|
<pluginRepositories>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
|
@ -21,6 +21,7 @@ import java.util.*;
|
|||||||
import java.util.regex.Matcher;
|
import java.util.regex.Matcher;
|
||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
import org.jf.dexlib.Code.Analysis.RegisterType;
|
import org.jf.dexlib.Code.Analysis.RegisterType;
|
||||||
|
import org.jf.dexlib.Code.Opcode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Ryszard Wiśniewski <brut.alll@gmail.com>
|
* @author Ryszard Wiśniewski <brut.alll@gmail.com>
|
||||||
|
@ -44,7 +44,7 @@ public class SmaliDecoder {
|
|||||||
baksmali.disassembleDexFile(mApkFile.getAbsolutePath(),
|
baksmali.disassembleDexFile(mApkFile.getAbsolutePath(),
|
||||||
new DexFile(mApkFile), false, mOutDir.getAbsolutePath(), null,
|
new DexFile(mApkFile), false, mOutDir.getAbsolutePath(), null,
|
||||||
null, null, false, true, true, true, false, false,
|
null, null, false, true, true, true, false, false,
|
||||||
mDebug ? main.ALLPRE : 0, false, false, null);
|
mDebug ? main.FULLMERGE : 0, false, false, null);
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
throw new AndrolibException(ex);
|
throw new AndrolibException(ex);
|
||||||
}
|
}
|
||||||
|
4
pom.xml
4
pom.xml
@ -17,6 +17,10 @@
|
|||||||
<modules>
|
<modules>
|
||||||
<module>apktool-lib</module>
|
<module>apktool-lib</module>
|
||||||
<module>apktool-cli</module>
|
<module>apktool-cli</module>
|
||||||
|
<module>../brut.apktool.smali</module>
|
||||||
|
<module>../brut.j.dir</module>
|
||||||
|
<module>../brut.j.common</module>
|
||||||
|
<module>../brut.j.util</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user