问题
I've recently get update notification of android studio 2.3, after the update it's not opening any project and throwing error:
[plugin: com.darkklord.gradle.metric.core]
after downgrading and reinstalling i still have this issue, can anyone please help me on this topic ?
回答1:
Download latest plugin from here: https://plugins.jetbrains.com/plugin/9197-android-gradle-metrics--checkstyle
- Install Plugin manually from disk.
- Restart Android Studio (The error will still occur)
- Remove plugin in IDE.
- Restart
You might also uninstall the refrenzed plugins Checkstyle and PMD
回答2:
change build:gradle plugin to:
classpath 'com.android.tools.build:gradle:3.3.2'
(in app gradle file)
回答3:
You need to change your dependency
classpath 'com.android.tools.build:gradle:3.1.0'
来源:https://stackoverflow.com/questions/42573313/android-studio-cant-open-project