|
发表于 2021-6-4 11:31:05
6764 浏览 1 回复
Adnroid7.0 编译jack service报错
最近搭建jdk8的环境,通过apt-get insall openjdk-8-jdk 会出现jack service报错,具体报错提示如下图:
解决方法:
- //////////////////////openjdk-8 cause jack-server error
- sudo apt remove openjdk-8-jre
- sudo apt remove openjdk-8-jdk-headless
- sudo apt install openjdk-8-jre=8u162-b12-1 openjdk-8-jre-headless=8u162-b12-1
- sudo apt install openjdk-8-jdk-headless=8u162-b12-1
- sudo apt-mark hold openjdk-8-jdk-headless
- sudo apt-mark hold openjdk-8-jre
- sudo apt-mark hold openjdk-8-jre-headless
复制代码- sudo add-apt-repository ppa:openjdk-r/ppa
- sudo apt-get update
- sudo apt-get install openjdk-8-jdk
复制代码- deb http:// bionic main universe
复制代码
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|
手机微信同号:13682654092
|
|
|
|
|
|
楼主|
发表于 2021-6-4 11:31:38
- FAILED: /bin/bash -c "(prebuilts/sdk/tools/jack-admin install-server prebuilts/sdk/tools/jack-launcher.jar prebuilts/sdk/tools/jack-server-4.8.ALPHA.jar 2>&1 || (exit 0) ) && (JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation" prebuilts/sdk/tools/jack-admin start-server 2>&1 || exit 0 ) && (prebuilts/sdk/tools/jack-admin update server prebuilts/sdk/tools/jack-server-4.8.ALPHA.jar 4.8.ALPHA 2>&1 || exit 0 ) && (prebuilts/sdk/tools/jack-admin update jack prebuilts/sdk/tools/jacks/jack-2.28.RELEASE.jar 2.28.RELEASE || exit 47; prebuilts/sdk/tools/jack-admin update jack prebuilts/sdk/tools/jacks/jack-3.36.CANDIDATE.jar 3.36.CANDIDATE || exit 47; prebuilts/sdk/tools/jack-admin update jack prebuilts/sdk/tools/jacks/jack-4.7.BETA.jar 4.7.BETA || exit 47 )"
- Jack server already installed in "/home/aplid/.jack-server"
- Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /home/aplid/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher
- Jack server failed to (re)start, try 'jack-diagnose' or see Jack server log
- SSL error when connecting to the Jack server. Try 'jack-diagnose'
- SSL error when connecting to the Jack server. Try 'jack-diagnose'
- 复制代码
复制代码
|
|
手机微信同号:13682654092
|
|
|
|
|
登录或注册
|