Android Studio can't open project

谁说我不能喝 提交于 2019-12-24 01:15:03

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!