From 9186858f33b72d83f1b13a288de68435f97380de Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Fri, 10 May 2013 08:24:24 -0500 Subject: [PATCH] added lib support for "/libs" folder. --- .../apktool-lib/src/main/java/brut/androlib/Androlib.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/brut.apktool/apktool-lib/src/main/java/brut/androlib/Androlib.java b/brut.apktool/apktool-lib/src/main/java/brut/androlib/Androlib.java index b1019b6a..0e82fb0d 100644 --- a/brut.apktool/apktool-lib/src/main/java/brut/androlib/Androlib.java +++ b/brut.apktool/apktool-lib/src/main/java/brut/androlib/Androlib.java @@ -126,6 +126,9 @@ public class Androlib { if (in.containsDir("lib")) { in.copyToDir(outDir, "lib"); } + if (in.containsDir("libs")) { + in.copyToDir(outDir, "libs"); + } } catch (DirectoryException ex) { throw new AndrolibException(ex); } @@ -694,5 +697,5 @@ public class Androlib { private final static String[] APK_MANIFEST_FILENAMES = new String[] { "AndroidManifest.xml" }; 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" }; }