mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-08 17:54:25 +02: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);
|
File apkDir = new File(appDir, APK_DIRNAME);
|
||||||
if (apkOptions.forceBuildAll || isModified(newFiles(APP_RESOURCES_FILENAMES, appDir),
|
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...");
|
LOGGER.info("Building resources...");
|
||||||
|
|
||||||
if (apkOptions.debugMode) {
|
if (apkOptions.debugMode) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user