Try increasing heap size with java option '-Xmx’.

编译内存不足,设置为4GB:
# export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4g"
# ./prebuilts/sdk/tools/jack-admin kill-server 
# ./prebuilts/sdk/tools/jack-admin start-server
# mmm frameworks/base/

你可能感兴趣的:(Android系统调试方法)