mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-04 18:12:54 +01:00
aapt2: aapt2 is a staged build (compile and link).
- we destroy the "compile" stage item after a link, but keep the pending directory - apktool then cannot complete link stage - if aapt2 is used, lie to system and re-process - todo: rethink this
This commit is contained in:
parent
a8bdad628a
commit
5a8bc45653
@ -459,7 +459,7 @@ public class Androlib {
|
||||
}
|
||||
File apkDir = new File(appDir, APK_DIRNAME);
|
||||
if (apkOptions.forceBuildAll || isModified(newFiles(APP_RESOURCES_FILENAMES, appDir),
|
||||
newFiles(APK_RESOURCES_FILENAMES, apkDir))) {
|
||||
newFiles(APK_RESOURCES_FILENAMES, apkDir)) || apkOptions.isAapt2()) {
|
||||
LOGGER.info("Building resources...");
|
||||
|
||||
if (apkOptions.debugMode) {
|
||||
|
Loading…
Reference in New Issue
Block a user