Skip to content

Instantly share code, notes, and snippets.

View SALMANKHANPM's full-sized avatar
💭
Learning ....

P.M.SALMAN KHAN SALMANKHANPM

💭
Learning ....
View GitHub Profile
@SALMANKHANPM
SALMANKHANPM / metalava_workaround_android-10
Created August 7, 2020 19:53 — forked from mikecriggs/metalava_workaround_android-10
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