当前位置:网站首页>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.
边栏推荐
猜你喜欢

【云原生】SQL(及存储过程)跑得太慢怎么办?

什么是EVM兼容链?

js中的this指向与原型对象

Build DVWA with phpstudy

Artifact SSMwar exploded Error deploying artifact.See server log for details

GUCCI, LV and other luxury giant universe how to layout yuan, other brands should keep up with?

MySql创建数据表

Hyper-V新建虚拟机注意事项

【云原生】原来2020.0.X版本开始的OpenFeign底层不再使用Ribbon了

Linux modify MySQL database password
随机推荐
Common JVM interview questions and answers
著名网站msdn.itellyou.cn原理分析
GUCCI, LV and other luxury giant universe how to layout yuan, other brands should keep up with?
mysql启动报错The server quit without updating PID file几种解决办法
使用ps | egrep时过滤排除掉egrep自身
quick lua加密
Getting to know regular expressions
CMOS管原理,及其在推挽电路中的应用
cocos2d-x-3.x 修改和纪录
How to distinguish big and small endian in C language
quick-3.5 ActionTimeline的setLastFrameCallFunc调用会崩溃问题
DeFi 项目中的治理Token
UiBot存在已打开的MicrosoftEdge浏览器,无法执行安装
cocoscreator3.5.2打包微信小游戏发布到QQ小游戏修改
微信小程序启动优化
js中的this指向与原型对象
[Cloud Native] What should I do if SQL (and stored procedures) run too slowly?
5 methods of MySQL paging query
Pure shell implementation of text replacement
阿里一面,说说你知道消息中间件的应用场景有哪些?