Skip to content

Instantly share code, notes, and snippets.

@mikecriggs
Created July 18, 2020 13:28
Show Gist options
  • Save mikecriggs/946eea10f303727d85becbbfed9cff4f to your computer and use it in GitHub Desktop.
Save mikecriggs/946eea10f303727d85becbbfed9cff4f to your computer and use it in GitHub Desktop.
Metalava issue workaround Android 10
If you're building Q and getting metalava errors apply:
https://github.com/Magma-WIP/build_soong/commit/bcd1bb529132905cf55e72f5a2a6ba19a99f60ac
https://github.com/Magma-WIP/build_soong/commit/dc3365fbde3b2a5773e655f690bb073967100795
If build fails even with the commits applied try building SystemUI with -j1
It can also be a good idea to increase swap
Command:
cd build/soong && git fetch https://github.com/Magma-WIP/build_soong ten-metalava && git cherry-pick bcd1bb529132905cf55e72f5a2a6ba19a99f60ac^..dc3365fbde3b2a5773e655f690bb073967100795
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment