Android 3.3.0 update, ERROR: Cause: invalid type code: 68

后端 未结 5 1845
余生分开走
余生分开走 2020-12-17 08:36

After the new update of Android Studio (3.3.0) I\'m getting error from Gradle sync saying \"ERROR: Cause: invalid type code: 68\". Even in project, that have been created be

相关标签:
5条回答
  • 2020-12-17 08:46

    I had the same issu with IntelliJ 2019.1, Untick this option works for me.

    0 讨论(0)
  • 2020-12-17 08:52

    Alter path JDK location to .....\Android Studio\jre

    0 讨论(0)
  • 2020-12-17 08:52

    I had the same error (6C) during a LinkedIn Learning course, I managed to solve it through the following steps

    • Updating Kotlin in project-level build.gradle file
    • Update gradle build version in project-level build.gradle file.
    • Open Project Structure and using the Suggestions tab, update all modules to the latest version.
    • Update the compileSdkVersion & targetSdkVersion to latest.
    0 讨论(0)
  • 2020-12-17 08:55

    I got a similar message ("invalid type code: E5") and resolved it by first building from the command line, which revealed it was a Firebase libs version conflict, and then switching to use firebase-bom instead of manually specifying each version.

    0 讨论(0)
  • 2020-12-17 09:07

    I had the same problem. I was working on a project on two PCs: one at my office and one at home. In my office, after the AS 3.3 update, everything was fine but at home, after the same steps that I did at the office, the Error code 68 came out.

    After a couple of hours, I figured out how to solve it. Android Studio 3.3 has the " Only sync the active variant" option enabled by default in Settings>Experimental. Disabling this feature resolved the problem. But reactivating the feature the same error shows up, even after a successful Gradle sync. So I think this isn't a complete solution, but at least now I can work.

    0 讨论(0)
提交回复
热议问题