Skip to content

Simplify command in build-app/README.md #183

@dfaure

Description

@dfaure

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions