Plugin Error: required plugin “Android Support” is

2019-01-13 12:30发布

问题:

I have a plugin error in my logcat

   10:08:28 PM Plugin Error
        Problems found loading plugins:
        Plugin "Google Analytics Uploader" was not loaded: required plugin "Android Support" is disabled.
        Plugin "SDK Updater" was not loaded: required plugin "Android Support" is disabled.
        Plugin "Android NDK Support" was not loaded: required plugin "Android Support" is disabled.
        Plugin "Google App Indexing" was not loaded: required plugin "Android Support" is disabled.
        Plugin "Google Cloud Tools For Android Studio" was not loaded: required plugin "Android Support" is disabled.
        Plugin "Google Cloud Testing" was not loaded: required plugin "Android Support" is disabled.
        Plugin "Google Services" was not loaded: required plugin "Android Support" is disabled.
        Disable not loaded plugins
        Enable Android Support
        Open plugin manager
 10:08:32 PM Error Loading Project: Cannot load 3 facets Details...

This happened after I left my laptop to sleep and when I opened android studio, this error popped out. Now I cannot run my project.

回答1:

In short:

  • Windows (and Linux): Go to File--> Settings--> Plugins --> Enable Android Support

  • Mac: Android Studio--> Preferences--> Plugins --> Enable Android Support

If you look at the error you'll find the solution too :

3- Disable not loaded plugins
2- Enable Android Support
1- Open plugin manager


回答2:

I ran into the same error. Here is how I fixed this, at least temporarily (until the pros show the best way to fix this).

(On a Mac) Go to Android Studio -> Preferences -> Plugins. 

You'll notice that "Android Support" Plugin is unchecked. Uncheck the "Google Cloud Testing" plugin and then check the "Android Support" plugin. Hit the Apply button and then click OK. The IDE will ask you to restart to bring the changes into effect. Hit OK and when the IDE restarts, your code should be working fine.



回答3:

Go to Settings->Plugins->IDE Settings and just disable and enable again needed plugins.



回答4:

go as flow file-->settings-->plugins. then uncheck the red options. apply settings You will get error message no problem. recheck the unchecked options. press ok. it will request to restart android studio press ok button and it will solve the problem and work again.



回答5:

https://stackoverflow.com/a/40055520/1587329's solution also works in Linux:

File--> Settings--> Plugins --> Enable Android Support

Or just click Reset in the top right.



回答6:

I too faced this issue, If you uncheck then check on any dependency(red colour) plugin then IDE will prompt a dialog to enable "Android Support" accept it and restart IDE problem will be solved.



回答7:

I had the same issue and was unable to enable Android Support plugin. Then I disable Google Cloud plugins and Firebase plugins and then enable the Android Support plugin. After AS restart I was able to re enable Google Cloud and Firebase plugins.



回答8:

  • Open the file c:\users\username.AndroidStudio2.3\config\disabled_plugins.txt
  • delete the line "org.jetbrains.android"
  • restart Android Studio


回答9:

if you are installing on a PC that has set default language other then english(in my case, it was hindi), then android studio wont start. so first change your system language to english. i have faced this problem two times.