From c17d51a74385ea6fcaef2648a8ff7fc1a4f2dd9d Mon Sep 17 00:00:00 2001 From: Niklas Higi Date: Fri, 11 Oct 2019 22:23:09 +0200 Subject: [PATCH] Always use AAPT2 for encoding --- src/tools/apktool.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/apktool.ts b/src/tools/apktool.ts index 57aae96..13c609c 100644 --- a/src/tools/apktool.ts +++ b/src/tools/apktool.ts @@ -9,7 +9,7 @@ const apktool = { return executeJar(jar, ['decode', inputPath, '--output', outputPath]) }, encode(inputPath: string, outputPath: string) { - return executeJar(jar, ['build', inputPath, '--output', outputPath]) + return executeJar(jar, ['build', inputPath, '--output', outputPath, '--use-aapt2']) }, version: 'commit 683fef3', }