mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-21 01:07:34 +01:00
added lib support for "/libs" folder.
This commit is contained in:
parent
acc83919d0
commit
9186858f33
@ -126,6 +126,9 @@ public class Androlib {
|
|||||||
if (in.containsDir("lib")) {
|
if (in.containsDir("lib")) {
|
||||||
in.copyToDir(outDir, "lib");
|
in.copyToDir(outDir, "lib");
|
||||||
}
|
}
|
||||||
|
if (in.containsDir("libs")) {
|
||||||
|
in.copyToDir(outDir, "libs");
|
||||||
|
}
|
||||||
} catch (DirectoryException ex) {
|
} catch (DirectoryException ex) {
|
||||||
throw new AndrolibException(ex);
|
throw new AndrolibException(ex);
|
||||||
}
|
}
|
||||||
@ -694,5 +697,5 @@ public class Androlib {
|
|||||||
private final static String[] APK_MANIFEST_FILENAMES = new String[] {
|
private final static String[] APK_MANIFEST_FILENAMES = new String[] {
|
||||||
"AndroidManifest.xml" };
|
"AndroidManifest.xml" };
|
||||||
private final static String[] APK_STANDARD_ALL_FILENAMES = new String[] {
|
private final static String[] APK_STANDARD_ALL_FILENAMES = new String[] {
|
||||||
"classes.dex", "AndroidManifest.xml", "resources.arsc","res","lib","assets","META-INF" };
|
"classes.dex", "AndroidManifest.xml", "resources.arsc","res","lib", "libs","assets","META-INF" };
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user