I am trying to build the android source code in ubuntu 15.10, but I got an error. Now I want your help to build the android source code.
including ./tools/ex
goto build/core/config.mk and change heap size in
APICHECK_COMMAND := $(APICHECK) -JXmx8g -J"classpath $(APICHECK_CLASSPATH)"
then it will work fine. Other solutions didn't help me.