简体   繁体   English

将Android Studio更新到v2.3后,我无法加载任何项目

[英]I can't load any project after updating Android Studio to v2.3

I can't load any project after updating Android Studio to v2.3. 将Android Studio更新到v2.3后,我无法加载任何项目。 Here is a picture of the error: 这是错误的图片:

图片 and it reads: 它写着:

Cannot load project: com.intellij.ide.plugins.PluginManager$StartupAbortedException: 
com.intellij.diagnostic.PluginException: 
com/android/tools/idea/gradle/invoker/GradleInvoker$AfterGradleInvocationTask [Plugin: com.drakklord.gradle.metric.core]

After I tried to uninstall the Checkstyle plugin and reinstall Android Studio, I still get the same error. 在我尝试卸载Checkstyle插件并重新安装Android Studio之后,我仍然遇到同样的错误。 I have updated JDK to 1.8 version. 我已将JDK更新为1.8版本。

After removed cache directory also if it is not working, then look at the Terminal for error. 删除缓存目录后,如果它不起作用,则查看终端是否有错误。

If it says, 如果它说,

[  96470]  ERROR - llij.ide.plugins.PluginManager - null

Then it is the problem with some plugins that you already installed in the IDE. 然后,您已经在IDE中安装了一些插件的问题。

In my case it was BlackBerry Pugin for Android development. 就我而言,它是用于Android开发的BlackBerry Pugin。 I just removed it from plugins and it worked. 我刚刚从插件中删除它,它工作。

Click on plugins from the bottom right dropdown and uninstall the plugin that you manually installed. 单击右下角的插件,然后卸载手动安装的插件。

Found this in a similar thread: 在类似的线程中找到了这个:

• Close Android Studio •关闭Android Studio

• Go to the directory home_dir/.AndroidStudio/system/cache •转到home_dir / .AndroidStudio / system / cache目录

• Remove all the files in the cache directory. •删除缓存目录中的所有文件。

• Then restart IntelliJ / Android Studio •然后重新启动IntelliJ / Android Studio

I'd suggest making a backup of anything before removing. 我建议在删除之前备份任何内容。

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

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