The plugin cannot search for a solution
I don’t know when the Android Studio plug-in and Gradle are upgraded, the plug-in cannot be searched for online installation, and it has been in a circle state. Through various tests and explorations, several solutions have been summarized.我的Android Studio已经升级到3.6.3.
1. Investigate other causes
Excluding some related factors, after these methods are eliminated, it is still impossible to search for plug-ins and then use the ultimate solution.
1. Network Check
. Before determining that the plug-in cannot be searched, make sure that the network is in good condition. The plug-in will not be searched for a long time in a weak network state. No, I will cry for most of the day.
2. Cancel proxy
2. The ultimate solution
Several methods listed below can effectively solve the problem that the plug-in cannot search.
1. Offline download
Download from the current, offline installation is the most stupid and last way to
download the offline plug-in .jar and then install it offline
2. Availables.xml replacement scheme
这种方式我最为推荐
。
It is rumored on the Internet to delete the plugins folder in the .AndroidStudio3\config directory and restart it. In fact, it actually regenerates the availables.xml file. My operation has no effect. The essence of this solution is to change the availables.xml, and other installed plug-ins do not need to be deleted, otherwise it will be a waste of time to download and install again.
My solution is to replace the previous availables.xml with the current availables.xml, its path is C:\Users\Administrator\.AndroidStudio3.6\config\plugins
under, and it will be fine after the replacement.
How to obtain the availables.xml file
- Obtained from the low version of .AndroidStudio3.6\config
- Get it from your colleague’s Android studio
- I shared my available availables.xml file on CSDN resources, you can go to download .
Three, invalid plan
1. Cancel Use secure connection
After upgrading to 3.6.0, there is no Use secure connection option for a long time, so this method is outdated
2. idea.properties configuration
Enter the installation directory of Android Studio...Android Studio\bin find idea.properties to modify the configuration
idea.plugins.path=${
idea.config.path}/plugins
改成
idea.plugins.path=${
idea.system.path}/plugins
This method is actually
useless. The configuration of idea.plugins.path in 3.6.0 and later has been eliminated.
The above useful and useless solutions are summarized after I have tried them. I hope you will stand on my shoulders to solve your problems and reduce trouble.
如有异议或更好的方案,请留言,谢谢。
Blog writing is not easy, if you think the article is okay, please like it ^ _ ^!
Related links
1. Entry name .xml collided ultimate solution
2. Hot update Tinker class loading principle
3. The difference between Finish, OnBackPressed and OnDestroy