diff --git a/core/force_aapt2.mk b/core/force_aapt2.mk index 655ccf527..41bf710e8 100644 --- a/core/force_aapt2.mk +++ b/core/force_aapt2.mk @@ -18,7 +18,7 @@ # rewriting some properties to convert standard AAPT usage to AAPT2. ifeq ($(FORCE_AAPT2),true) - ifneq ($(LOCAL_USE_AAPT2),true) + ifeq ($(LOCAL_USE_AAPT2),) # Force AAPT2 on LOCAL_USE_AAPT2 := true # Move LOCAL_STATIC_JAVA_AAR_LIBRARIES to LOCAL_STATIC_ANDROID_LIBRARIES