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

Missing essential plugin:

  org.jetbrains.android

Please reinstall Android Studio from scratch.

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


当前回答

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

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

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

其他回答

对我来说,这是因为我禁用了JUnit。你不应该禁用基本的android studio插件。

所以从下面的Windows目录下的disabled_plugins.txt中删除这些插件

C:\Users\your_user_name\AppData\Roaming\Google\AndroidStudio_your_version\disabled_plugins.txt

并从那里删除了基本的android插件名称。

对我来说,它在下面

C:\Users\mirza\AppData\Roaming\Google\AndroidStudio4.2

如果你不确定你应该删除多少插件和哪个插件,那就试试试错法,这意味着从文件中删除一个插件,然后开始一个android工作室。这样做,直到工作室开始没有安迪错误

在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

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

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

解决方案:

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

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

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

Windows用户

C:\Users\Admin[如果你有用户名].AndroidStudio4.0\config

你可以在那里找到禁用的_plugins.txt 删除它并重新启动android studio