aapt2: wire up zipPackage() instead of using aapt1 for final apk package

This commit is contained in:
Connor Tumbleson 2018-02-15 18:09:15 -05:00
parent 9e5df69d17
commit a8bdad628a

View File

@ -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 {