Gradle Sync Failed in Android Studio 3.6 Cause invalid type code :85

∥☆過路亽.° 提交于 2020-06-27 14:30:22

问题


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


回答1:


I was having the same issue. I solved it by changing the JDK version I was using which was JDK 13.

  1. Go to File -> Project Structure.
  2. On the left side, click on SDK Location and go to JDK Location.
  3. Change it to the Embedded JDK that comes with Android Studio.
  4. Click on OK.


来源:https://stackoverflow.com/questions/60435743/gradle-sync-failed-in-android-studio-3-6-cause-invalid-type-code-85

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!