当前位置:网站首页>Gradle sync failed: Uninitialized object exists on backward branch 142
Gradle sync failed: Uninitialized object exists on backward branch 142
2022-07-31 05:15:00 【为今天而努力】
android studio 命令行编译时提示错误
Gradle sync failed: Uninitialized object exists on backward branch 142
Exception Details:
Location:
com/android/build/gradle/internal/pipeline/VariantInfoImpl.<init>(Lcom/android/build/gradle/internal/scope/VariantScope;)V @200: goto
Reason:
Error exists in the bytecode
Bytecode:
原因:
IDE run引用 Android studio 内置的JDK user\AndroidStudio\jre
gradle build,引用的系统环境的JDK,即JAVA_HOME中定义的 C:\Program Files (x86)\Java\jdk1.8.0_20
解决办法:
网上建议调整AndroidStudio设置 File--> Project Structure -->SDK Location -->JDK Location
C:\Program Files\Android\Android Studio\jre
调整后不生效,转换了思路,
修改环境变量路径为 androidStudio 内置的 JDK,测试正常。
希望能帮到大家。有更好的思路,可以交流一下,万分感谢。
边栏推荐
- 【Elastic-Job源码分析】——作业监听器
- MySQL压缩包方式安装,傻瓜式教学
- [Cloud Native] What should I do if SQL (and stored procedures) run too slowly?
- Build vulhub vulnerability shooting range on kali
- 【云原生】微服务Nacos的简单介绍与使用
- 2021美赛C题M奖思路
- C language tutorial (1) - preparation
- 【uiautomation】微信好友列表获取(存储到txt中)
- Build DVWA with phpstudy
- NFT与数字藏品到底有何区别?
猜你喜欢

Fragmented NFT (Fractional NFT)

2021美赛C题M奖思路

阿里一面,说说你知道消息中间件的应用场景有哪些?
![[JVM Loading]---Class Loading Mechanism](/img/b6/d1754cb6699d18602ca9a463571c0c.png)
[JVM Loading]---Class Loading Mechanism

mac10.14中安装mysqldb

MySQL压缩包方式安装,傻瓜式教学

vulhub靶场学习日记hackme2

The server time zone value ‘й‘ is unrecognized or represents more than one time zone
![[Cloud native] Ribbon is no longer used at the bottom layer of OpenFeign starting from the 2020.0.X version](/img/7e/1d27e3f1856ab8c6cbfc5221c717bb.png)
[Cloud native] Ribbon is no longer used at the bottom layer of OpenFeign starting from the 2020.0.X version

(Crypto必备干货)详细分析目前NFT的几大交易市场
随机推荐
计网 Packet Tracer仿真 | 简单易懂集线器和交换机对比(理论+仿真)
11 【定位】
对js的数组的理解
SQL注入中数据库的判断
leetcode-每日一题873. 最长的斐波那契子序列的长度(哈希和二分)
2021美赛C题M奖思路
PHP中abstract(抽象)、final(最终)和static(静态)原理与用法
【Elastic-Job源码分析】——作业监听器
[windows]--- SQL Server 2008 super detailed installation tutorial
On the side of Ali, tell me what are the application scenarios of message middleware you know?
10 【高度塌陷与BFC】
2021 Mianjing - Embrace Change
[swagger close] The production environment closes the swagger method
NFT:数字所有权的核心
什么是EVM兼容链?
最新MySql安装教学,非常详细
"limit" query in Oracle database
leetcode-每日一题735. 行星碰撞(栈模拟)
SSH自动重连脚本
Linux中mysql密码修改方法(亲测可用)