Plugin Error: required plugin “Android Support” is

2019-01-13 11:43发布

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.

9条回答
三岁会撩人
2楼-- · 2019-01-13 12:31

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

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

screenshot settings plugins

Or just click Reset in the top right.

查看更多
淡お忘
3楼-- · 2019-01-13 12:34

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.

查看更多
不美不萌又怎样
4楼-- · 2019-01-13 12:37

In short:

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

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

enter image description here

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
查看更多
登录 后发表回答