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

后端 未结 5 1906
闹比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:19

    Just try add

    export ANDROID_JACK_VM_ARGS="-Xmx8192m -Xms512m -Dfile.encoding=UTF-8 -XX:+TieredCompilation"
    

    to the end of .bashrc and reboot Linux

提交回复
热议问题