Android Studio 3.6中的Gradle同步失败,导致无效的类型代码:85 [英] Gradle Sync Failed in Android Studio 3.6 Cause invalid type code :85
本文介绍了Android Studio 3.6中的Gradle同步失败,导致无效的类型代码:85的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我只是将Android Studio从3.5.3版本更新到3.6,现在我打开任何看到此错误并且gradle无法同步的项目
I just update my Android Studio from version 3.5.3 to 3.6, now I open any project I see this error and gradle doesn't sync
推荐答案
我遇到了同样的问题.我通过更改所使用的JDK版本JDK 13来解决了这个问题.
I was having the same issue. I solved it by changing the JDK version I was using which was JDK 13.
- 转到文件->项目结构.
- 在左侧,单击 SDK位置,然后转到 JDK位置.
- 将其更改为Android Studio随附的嵌入式JDK .
- 单击确定.
- Go to File -> Project Structure.
- On the left side, click on SDK Location and go to JDK Location.
- Change it to the Embedded JDK that comes with Android Studio.
- Click on OK.
这篇关于Android Studio 3.6中的Gradle同步失败,导致无效的类型代码:85的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文