Android Build issue [Solution] [Ubuntu 16.04]

If someone is having issues with building android with clang linker error like this: https://paste.ubuntu.com/24070475/

kindly check this https://github.com/khadas/android_manifest/issues/1

You can try edit the file ‘art/build/Android.common_build.mk’

ART_HOST_CLANG := false
ifneq ($(WITHOUT_HOST_CLANG),true)
  # By default, host builds use clang for better warnings.
--     ART_HOST_CLANG := true
++     ART_HOST_CLANG := false
endif

I don’t have validated this method.:grinning:
You can have a try
Thanks

The method that i have linked in the GitHub issue is an official patch by google. So I guess I’ll stick to that.

Thanks for the information, we have a test first, and then pull your patch if it woks.