当前位置:网站首页>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.
边栏推荐
猜你喜欢
随机推荐
flutter arr dependencies
数字孪生将成为进入“元宇宙”一项重要的途径
Chinese garbled solution in UTF-8 environment in Powershell
使用ps | egrep时过滤排除掉egrep自身
MySQL面试题大全(陆续更新)
Build DVWA with phpstudy
浏览器查找js绑定或者监听的事件
[Cloud Native] What should I do if SQL (and stored procedures) run too slowly?
Detailed explanation of pointers in C language
[Ubuntu20.04 installs MySQL and MySQL-workbench visualization tool]
cocos2d-x-3.x 修改和纪录
MySQL compressed package installation, fool teaching
一文速学-玩转MySQL获取时间、格式转换各类操作方法详解
理解js运算符
MySQL压缩包方式安装,傻瓜式教学
A simple bash to powershell case
NFTs: The Heart of Digital Ownership
MySql创建数据表
浅谈对分布式模式下CAP的理解
mysql启动报错The server quit without updating PID file几种解决办法