Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio AVD Manager button is disabled

I'm very new to Android development and have never used Android Studio before. I set it up, got my app working on my phone and left it alone for a few weeks. Upon returning, I could not find the Android Studio executable on my computer, so I reinstalled it and restarted on the same project.

Not sure if this has to do with the AVD Manager button being grayed out. Things I have tried:

  1. Making sure my SDK path is correct
  2. Running Android Studio as administrator
  3. Launching the AVD Manager executable from windows. I can create a virtual device but doesn't affect disabled AVD Manager button when restarting Android Studio.
  4. Installing Intel X86 Atom System Image and Google APIs in SDK Manager, under API 24.Everything under API 25 is installed.

Any help is appreciated. Thank you!

like image 394
coralreef Avatar asked Dec 22 '16 19:12

coralreef


People also ask

Why is my AVD Manager not working?

SDK Build Tools are not installed If it fails then you may have to install it again. You look at the build tab at the bottom of the screen, it will display the error message and option to install the Build tools. Install it and you should be able to see the AVD Manager. Another way is to go to the SDK Manager.

Why my device manager is not opening in Android Studio?

Please check whether your flutter project is creating Android module by clicking left side of the android studio. Also try another SDK location or try renaming it. Do not delete the previous sdk since it seems it creates some issue while opening the device manager.


2 Answers

This generally happens when Android Studio is not able identify the android sdk installation in the machine. This could happen if Android Studio is launched in non-Administrator mode.

Just close and relaunch Android Studio in administrator mode. You will see a saying "android framework is identified" Click on the configure link on that notification. The AndroidStudio will start configuring the android sdk. After some time the buttons would be visible and enabled.

like image 75
Muhammad Warraich Avatar answered Sep 27 '22 20:09

Muhammad Warraich


If you tried running the Android Studio in administrator mode and it still do not work for you try the following way.

  1. Delete the .idea folder in the project
  2. Re open the project from going to File->Open Recent->
  3. Then you will be asked to convert the project
  4. Click convert
like image 23
Lasitha Yapa Avatar answered Sep 27 '22 18:09

Lasitha Yapa