Increasing heap size while building the android source code on Ubuntu 15.10

后端 未结 5 1915
闹比i
闹比i 2020-12-02 12:24

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         


        
5条回答
  •  旧巷少年郎
    2020-12-02 13:27

    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.

提交回复
热议问题