简体   繁体   English

Android Studio 2020.3 Canary 4 无法同步 Gradle

[英]Android Studio 2020.3 Canary 4 Cannot Sync Gradle

I wanted to experiment with Jetpack Compose recently and so I started following the instructions on the Android Dev site and downloaded the latest Canary version of Android Studio.我最近想尝试使用 Jetpack Compose,所以我开始按照 Android 开发网站上的说明下载 Android Studio 的最新 Canary 版本。 However, this version of Android Studio refuses to sync Grade properly.但是,此版本的 Android Studio 拒绝正确同步 Grade。

The specific error messages is as follows:具体报错信息如下:

Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:

Gradle sync failed: Cause: startup failed:
                initialization script 'C:\Users\username\AppData\Local\Temp\ijinit.gradle': 4: unable to resolve class org.jetbrains.plugins.gradle.tooling.internal.ExtraModelBuilder
                @ line 4, column 1.
                import org.jetbrains.plugins.gradle.tooling.internal.ExtraModelBuilder
                ^
                1 error
                (13 s 891 ms)

I've seen a few posts and tried those solutions (deleting the.gradle folder, invalidating cache and restarting, reinstalling Android Studio, Android SDK, JDK, etc.) but to no avail. I've seen a few posts and tried those solutions (deleting the.gradle folder, invalidating cache and restarting, reinstalling Android Studio, Android SDK, JDK, etc.) but to no avail. Anyone have any idea as to what would be the issue?任何人都知道会出现什么问题?

Reinstall your android studio on you s重新安装您的 android 工作室

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM