用Idea在Windows WSL里面创建Gradle项目时碰到的错误。
Unable to load class 'com.android.ide.gradle.model.GradlePluginModel PluginClassLoader(plugin=PluginDescriptor(name=Gradle, id=com.intellij.gradle, descriptorPath=plugin.xml, path=C:\Program Files\JetBrains\IntelliJ IDEA 2021.1\plugins\gradle, version=211.7442.40, package=null), packagePrefix=null, instanceId=25, state=active)'.
This is an unexpected error. Please file a bug containing the idea.log file.
禁用 Android plugin。
https://intellij-support.jetbrains.com/hc/en-us/community/posts/360010841220-Gradle-build-in-WSL-failing-with-error-Unable-to-load-class-com-android-ide-gradle-model-GradlePluginModel
|