Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SALMANKHANPM/e39540a3c0c6181e4493766927f0ad6c to your computer and use it in GitHub Desktop.
Save SALMANKHANPM/e39540a3c0c6181e4493766927f0ad6c 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