安卓源码编译记录

问题一:

terminating with uncaught exception of type std::bad_alloc: std::bad_alloc Could not build FEC data! Error: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc Out of space? the tree size of out/target/product/angler/system is (MB): 955 out/target/product/angler/system The max is 3072 MB.

ninja: build stopped: subcommand failed. 16:23:12

ninja failed with: exit status 1
解决方案:杀死java进程   在命令行输入pkill -9 java

export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4096m"
./prebuilts/sdk/tools/jack-admin kill-server
./prebuilts/sdk/tools/jack-admin start-server

猜你喜欢

转载自blog.csdn.net/wm12345645/article/details/88926782
今日推荐