Android Studio missing essential plugin org.jetbrains.android

非 Y 不嫁゛ 提交于 2020-11-26 06:59:08

问题


I have just updated to Android Studio 4.1 Canary 9, but I am getting the following error:

Missing essential plugin:

  org.jetbrains.android

Please reinstall Android Studio from scratch.

I've tried reinstalling Android Studio from scratch, as the error says, but nothing changes.

Thank you very much for the help ;).


回答1:


Just delete this file:

Users\.AndroidStudio4.X\config\disabled_plugins.txt



回答2:


For Windows users.

C:\Users\YourUserName\AppData\Roaming\Google\AndroidStudioPreview4.1\disabled_plugins.txt

Deleting this file will fix the issue.

More detailed information.




回答3:


On Mac OS

  1. Open /Users//Library/Preferences/AndroidStudio4.0/codestyles
  2. delete disabled_plugins.txt
  3. restart Android Studio



回答4:


For Windows users

C:\Users\Admin[if you have username].AndroidStudio4.0\config

There you can find disabled _plugins.txt delete it and restart android studio




回答5:


I'm using Linux Ubuntu 18.04 and Android Studio 4.0 and I found disabled_plugins.txt file in this directory:

/home/[your_username]/.AndroidStudio4.0/config

and after that I found I've put Kotlin plugin at the end of file. Just remove that line, Android Studio will work. By the way, on any other OS, you can find your file just by searching disabled_plugins.txt.




回答6:


As the Known Issues section of the Android Studio 4.1 Preview page notes, if you are getting this error in Android Studio 4.1 Canary 9, it means that you have a locally installed Kotlin plugin that is not compatible with the new IDE.

To resolve it, you should delete the Kotlin folder from the following locations (from the above linked page), depending on your operating system:

Linux: ~/.local/share/Google/AndroidStudioPreview4.1

Windows: C:\Users\YourUserName\AppData\Roaming\Google\AndroidStudioPreview4.1

macOS: ~/Library/Application Support/Google/AndroidStudioPreview4.1

For Linux and macOS, ~ refers to your home directory, and a directory can be removed from the command line (Terminal) with rm -rf directory_name_here.

There is no need to install a replacement Kotlin plugin, as it is bundled in that version of Android Studio.




回答7:


I'm using Android Studio 4.0 from homebrew. And delete this

/Users/[your_name]/Library/Preferences/AndroidStudio4.0/disabled_plugin.txt



回答8:


On Linux (Fedora release 30), the issue happened after I wanted to disable Kotlin features during installation. I could resolve it by removing configure files:

rm -r ~/.config/Google/AndroidStudio4.1

Or just remove the disabled_plugins.txt file:

rm  ~/.config/Google/AndroidStudio4.1/disabled_plugins.txt

Sometimes you are compelled to re-extract your android-studio on your Linux machine. Notice that removing ~/.local/share/Google/AndroidStudio4.1/ directory did not help me.




回答9:


On Linux with Android Studio 4.1

it was another path for me, maybe this the new format?

~/.config/Google/AndroidStudio4.1




回答10:


only windows user try this it works for me I am Deleting this file disabled_plugins.txt

C:\Users\ashif.AndroidStudio4.0\config




回答11:


Removing these from disabled_plugins.txt fixes the issue if you have disabled some of the plugins. Instead of adding back all the plugins, specify the plugins to enable:

groovy, smali, kotlin, junit // (i.e: Enable these)


来源:https://stackoverflow.com/questions/61682609/android-studio-missing-essential-plugin-org-jetbrains-android

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