我刚刚更新到Android Studio 4.1金丝雀9,但我得到以下错误:

Missing essential plugin:

  org.jetbrains.android

Please reinstall Android Studio from scratch.

我尝试从头开始重新安装Android Studio,就像错误提示的那样,但没有任何变化。


当前回答

这个问题的出现有两个原因。

你从Android Studio中禁用了一些插件并重新启动。 一些插件被任何线程禁用,你开始失去必要的插件org.jetbrains.android这个错误消息。

解决方法很简单。

C:\Users\Numan\AppData\Roaming\Google\AndroidStudio4.1

只需转到最新的Android Studio版本,找到名为disabled_plugins的文本文档文件。现在打开它,删除你认为已经禁用的行,或者删除完整的disabled_plugins文件并打开Android Studio。你也可以在C Drive中搜索disabled_plugins,如果你无法从AppData中找到它,就会出现一个文本文件。

成功了——干杯!!

其他回答

如果您正在使用JetBrains Tool Box进行安装,只需在下面的路径中找到disabled_plugins.txt文件:C:\Users[YOUR USERNAME]\AppData\Roaming\谷歌\AndroidStudio2021.1

在Mac OS上

在终端帮助查找坏文件查找~/Library -name disabled_plugins.txt 在终端运行rm '/Users/xxxx/Library/Application Support/谷歌/AndroidStudio2021.2/ disabled_pluts .txt' 删除文件 重启Android Studio

在Linux上,当禁用所有插件时,可能会发生这种情况(Artic Fox)。路径是(或可能是):

~/.config/Google/AndroidStudio2020.3/disabled_plugins.txt

使用#注释掉条目是可能的,这样可以禁用特定的插件。

错误原因:在Android Studio 4中禁用一个或多个插件(例如:Kotlin)后出现此问题。x settings (Android Studio -> Preferences -> Plugins -> Uncheck the Kotlin plugin -> Apply -> Ok ->重启Android Studio ==> ERROR提示

解决方案(Mac特定):删除“disabled_plugins.txt”文件

查找~/Library -name disabled_plugins.txt
 理想的路径应该是:/Users//Library/Preferences/AndroidStudio4.x/disabled_plugins.txt rm disabled_plugins.txt 重新启动Android Studio

我有同样的问题,由于禁用kotlin插件。

解决方案:

C:\Users\username\AppData\Roaming\Google

C:\Users\username\AppData\Local\Google

删除整个谷歌文件夹在这两个位置,然后它将工作,这个解决方案为我工作。