08-18-2016, 09:45 AM
"relocation error 43" is one of several errors you will hit when building on 16.04. Note that building Android on 16.04 is not supported by Google's AOSP. You can make it work by fixing various things. If you build on 14.04 you won't have any problems.
Another issue with building AOSP on 16.04 is that it wants OpenJDK 7 which is no longer an install option on 16.04. You have to hack around with the Java support to make something else work.
Easy solution is just to make a 14.04 VirtualBox on 16.04
Another issue with building AOSP on 16.04 is that it wants OpenJDK 7 which is no longer an install option on 16.04. You have to hack around with the Java support to make something else work.
Easy solution is just to make a 14.04 VirtualBox on 16.04