mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-21 01:07:34 +01:00
parent
89e56c95c1
commit
bca474272e
@ -303,7 +303,6 @@ public class Androlib {
|
|||||||
buildNonDefaultSources(appDir);
|
buildNonDefaultSources(appDir);
|
||||||
buildManifestFile(appDir, manifest, manifestOriginal);
|
buildManifestFile(appDir, manifest, manifestOriginal);
|
||||||
buildResources(appDir, meta.usesFramework);
|
buildResources(appDir, meta.usesFramework);
|
||||||
buildLib(appDir);
|
|
||||||
buildLibs(appDir);
|
buildLibs(appDir);
|
||||||
buildCopyOriginalFiles(appDir);
|
buildCopyOriginalFiles(appDir);
|
||||||
buildApk(appDir, outFile);
|
buildApk(appDir, outFile);
|
||||||
@ -545,12 +544,10 @@ public class Androlib {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void buildLib(File appDir) throws AndrolibException {
|
|
||||||
buildLibrary(appDir, "lib");
|
|
||||||
}
|
|
||||||
|
|
||||||
public void buildLibs(File appDir) throws AndrolibException {
|
public void buildLibs(File appDir) throws AndrolibException {
|
||||||
|
buildLibrary(appDir, "lib");
|
||||||
buildLibrary(appDir, "libs");
|
buildLibrary(appDir, "libs");
|
||||||
|
buildLibrary(appDir, "kotlin");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void buildLibrary(File appDir, String folder) throws AndrolibException {
|
public void buildLibrary(File appDir, String folder) throws AndrolibException {
|
||||||
|
@ -528,6 +528,11 @@ public class BuildAndDecodeTest {
|
|||||||
compareBinaryFolder("/smali", false);
|
compareBinaryFolder("/smali", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void confirmKotlinFolderPersistsTest() throws BrutException, IOException {
|
||||||
|
checkFolderExists("/kotlin");
|
||||||
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
private void compareUnknownFiles() throws BrutException, IOException {
|
private void compareUnknownFiles() throws BrutException, IOException {
|
||||||
MetaInfo control = new Androlib().readMetaFile(sTestOrigDir);
|
MetaInfo control = new Androlib().readMetaFile(sTestOrigDir);
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user