kotlin folder should not be treated as unknown
@@ -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|" +
