AndroidIDEOfficial / AndroidIDE

AndroidIDE is an IDE for Android to develop full featured Android apps.
https://m.androidide.com
GNU General Public License v3.0
2.09k stars 250 forks source link

Warning: android.aapt2FromMavenOverride... is experimental #1786

Closed surajsharma closed 3 months ago

surajsharma commented 3 months ago

Issue Checklist

Additional terms

Issue explanation

On build i get the warning

WARNING: The option setting 'android.aapt2FromMavenOverride=/data/data/com.itsaky.androidide/files/home/.androidide/aapt2' is experimental.

pls help suppress or eliminate/understand

Expected behavior

Should build without warnings

Version name

Version : v2.7.1-beta (27102) CI Build : false Branch : HEAD Commit : 55bb46b31 Variant : arm64-v8a (release) Build type : OFFICIAL F-Droid Build : true F-Droid Version : v2.7.1-beta F-Droid Version code : 27102 SDK Version : 34 Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi] Manufacturer : Xiaomi Device : 22071219CI

Download source

GitHub

Relevant log output

No response

frknkrc44 commented 3 months ago

Not a bug. It's a warning because AndroidIDE overrides the aapt2 binary location.

surajsharma commented 3 months ago

Not a bug. It's a warning because AndroidIDE overrides the aapt2 binary location.

can it be fixed/ warning suppressed?

BanDroid commented 3 months ago

can it be fixed/ warning suppressed?

no, from what i know, aapt2 from official android is not compatible with android.

also, why? the warning only happen in androidide and it wont bother anything else.

itsaky commented 3 months ago

Not a bug. The flag is set in order to use custom AAPT2 binary in the build process.