Android Build issue [Solution] [Ubuntu 16.04]

If someone is having issues with building android with clang linker error like this:

kindly check this

You can try edit the file ‘art/build/’

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

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

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.