Avd manager or sdk manager cannot be enabled,
Recently, I started to use Android. When I started the project using AS, I always reported various errors, but many of the information on the Internet could not be solved. You can only do this by experiment.
If you find that avd manager or sdk manager cannot be opened, you cannot solve the problem by finding a lot of information on the Internet. You can see the following article.
Sdk manager cannot be opened, flash back, perfect solution to the latest solution in 2017
I can't help but feel the same way when I see that the bloggers have tried 7 methods and failed again and again. Finally, the blogger completed the sdk and I tried it by referring to his method. But !!!
After downloading an sdk, this problem occurs again. It is still not possible to reinstall the sdk tools.
After thinking for a long time (5 minutes), I decided to start the analysis from the beginning.
1. Environment Variable: ANDROID_SDK_HOME. Be sure not to write other names. Cmd starts and inputs android. startup failed, but no error is reported. environment variables are excluded;
.
Solution: edit the find_java.bat file and findSet Arch_ext = 64, 64 to 32. What? There are two, all changed! (If it is 64-bit, you need to change 32 to 64)
Start or fail -_-!, Open the resource manager, find find.exe, and end the process. The sdk manager is displayed !!
3. The problem is reproduced after the sdk is updated. Repeat steps 1 and 2, and the problem cannot be solved. Fortunately, the find_java.batfile was copied to the libdirectory, And the find.exe process was restarted!
4. Open sdk manager and find it automatically checks to update sdk tools
The version is automatically updated to 25.2.5. This version (# Funny) removes the check box and downloads the required sdk. The problem is solved!
I have to say that there are a lot of pitfalls in Android, and there is also a great pitfall in AS, so I have to do it.
I would like to thank the previous blogger for his summary and experiment and help me through this trap.
--------------------------------------------------------
If this article helps you solve the problem, please give a thumbs up or simply comment on it. Your encouragement and support are the motivation for sharing and writing with our bloggers !!