当前位置:网站首页>Gradle sync failed: Uninitialized object exists on backward branch 142
Gradle sync failed: Uninitialized object exists on backward branch 142
2022-07-31 05:59:00 【work hard for today】
android studio prompts an error when compiling the command line
Gradle sync failed: Uninitialized object exists on backward branch 142
Exception Details:
Location:
com/android/build/gradle/internal/pipeline/VariantInfoImpl.
Reason:
Error exists in the bytecode
Bytecode:
Reason:
IDE run references Android studio built-in JDK user\AndroidStudio\jre
gradle build, the JDK of the referenced system environment, that is, C:\Program Files (x86)\Java\ defined in JAVA_HOMEjdk1.8.0_20
Solution:
It is recommended to adjust AndroidStudio settings File--> Project Structure -->SDK Location -->JDK Location
C:\Program Files\Android\Android Studio\jre
It doesn't take effect after adjustment, I changed my thinking,
Modify the environment variable path toThe built-in JDK of androidStudio is tested normally.
Hope to help you.If you have a better idea, you can share it, thank you very much.
边栏推荐
- js中的this指向与原型对象
- Xiaobai learns reptiles - introduction to reptiles
- 著名网站msdn.itellyou.cn原理分析
- Build DVWA with phpstudy
- podspec自动化升级脚本
- 2021面经-拥抱变化
- [Elastic-Job] Overview of Distributed Scheduling Tasks
- [JVM Loading]---Class Loading Mechanism
- [Cloud native] Simple introduction and use of microservice Nacos
- jenkins +miniprogram-ci 一键上传微信小程序
猜你喜欢
Artifact SSMwar exploded Error deploying artifact.See server log for details
The MySQL database in Alibaba Cloud was attacked, and the data was finally recovered
unicloud 云开发记录
MySQL压缩包方式安装,傻瓜式教学
常见JVM面试题及答案整理
DeFi 项目中的治理Token
MySQL高级学习笔记
Build DVWA with phpstudy
通信原理——纠错编码 | 汉明码(海明码)手算详解
自定dialog 布局没有居中解决方案
随机推荐
js中的函数
小米手机短信定位服务激活失败
Getting to know regular expressions
[Cloud native] Ribbon is no longer used at the bottom layer of OpenFeign starting from the 2020.0.X version
Judgment of database in SQL injection
Filter out egrep itself when using ps | egrep
quick-3.5 无法正常显示有混合纹理的csb文件
[Elastic-Job] Overview of Distributed Scheduling Tasks
[Ubuntu20.04 installs MySQL and MySQL-workbench visualization tool]
【JVM加载】---类加载机制
Linux修改MySQL数据库密码
jenkins +miniprogram-ci 一键上传微信小程序
Artifact SSMwar exploded Error deploying artifact.See server log for details
Several forms of Attribute Changer
C language tutorial (2) - printf and data types that come with c
Regular Expression Basics
一个简单的bash转powershell案例
【windows】--- SQL Server 2008 超详细安装教程
MySQL错误-this is incompatible with sql_mode=only_full_group_by完美解决方案
C语言 | 获取字符串里逗号间隔的内容