问题
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.
- 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.
来源:https://stackoverflow.com/questions/60435743/gradle-sync-failed-in-android-studio-3-6-cause-invalid-type-code-85