mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-05 17:45:52 +01:00
kotlin folder should not be treated as unknown - #1520
This commit is contained in:
parent
26512c7737
commit
93d61cc07a
@ -151,6 +151,9 @@ public class Androlib {
|
||||
if (in.containsDir("libs")) {
|
||||
in.copyToDir(outDir, "libs");
|
||||
}
|
||||
if (in.containsDir("kotlin")) {
|
||||
in.copyToDir(outDir, "kotlin");
|
||||
}
|
||||
} catch (DirectoryException ex) {
|
||||
throw new AndrolibException(ex);
|
||||
}
|
||||
@ -776,7 +779,7 @@ public class Androlib {
|
||||
"AndroidManifest.xml" };
|
||||
private final static String[] APK_STANDARD_ALL_FILENAMES = new String[] {
|
||||
"classes.dex", "AndroidManifest.xml", "resources.arsc", "res", "r", "R",
|
||||
"lib", "libs", "assets", "META-INF" };
|
||||
"lib", "libs", "assets", "META-INF", "kotlin" };
|
||||
// Taken from AOSP's frameworks/base/tools/aapt/Package.cpp
|
||||
private final static Pattern NO_COMPRESS_PATTERN = Pattern.compile("\\.(" +
|
||||
"jpg|jpeg|png|gif|wav|mp2|mp3|ogg|aac|mpg|mpeg|mid|midi|smf|jet|rtttl|imy|xmf|mp4|" +
|
||||
|
Loading…
Reference in New Issue
Block a user