You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current approach is to run gradle once, then repackage the ARM version of aapt2 into the jar file, then rerun gradle. This is quite complicated.
I suggest the following instead:
ˋˋˋ
echo "android.aapt2FromMavenOverride=$ANDROID_HOME/build-tools/latest/aapt2" >> ~/.gradle/gradle.properties
ˋˋˋ
(adjust the path to aapt2 if needed)
Then ˋgradle buildˋ works out of the box on ARM64, from the first try.