这是编译时候遇到的一个问题,简单记录一下,找到三种解决方案:
1.Try to simply restart the jack server by below command at your android root folder
./prebuilts/sdk/tools/jack-admin kill-server ./prebuilts/sdk/tools/jack-admin start-server
2.Try to reduce the number of concurrent services in file $HOME/.jack-server/config.properties Code:
jack.server.max-service=4
Try to make this value 2 or 1.
3.If jack server is not running or it hangs when try to run. Than try removing TLSv1, TLSv1.1 from rom /etc/java-8-openjdk/security/java.security
网友评论