From a8bdad628a58e65313521b809d8df60f3f86d40e Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Thu, 15 Feb 2018 18:09:15 -0500 Subject: [PATCH] aapt2: wire up zipPackage() instead of using aapt1 for final apk package --- .../apktool-lib/src/main/java/brut/androlib/Androlib.java | 2 +- 1 file changed, 1 insertion(+), 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 f12fe5cb..c0d6078b 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 @@ -690,7 +690,7 @@ public class Androlib { if (!assetDir.exists()) { assetDir = null; } - mAndRes.aaptPackage(outApk, null, null, new File(appDir, APK_DIRNAME), assetDir, null); + mAndRes.zipPackage(outApk, new File(appDir, APK_DIRNAME), assetDir); } public void publicizeResources(File arscFile) throws AndrolibException {