Why AVD Manager options are not showing in Android Studio

北慕城南 提交于 2019-12-18 10:14:37

问题


Why i'm unable to see Android Virtual Device (AVD)

I'm facing problem to create AVD in android studio, the problem is i'm unable to see any of this option Tools —> Android —> AVD Manager

below screen shot where i'm not finding Tools —> Android —> AVD Manager

in the above screen shot you cannot find Android --> AVD Manager,Why it is not showing.

Below is my installed packages:

1. SDK Manager

2. SDK Tools

i'm following this link:http://www.dev2qa.com/how-to-create-android-virtual-device-avd-in-android-studio/


回答1:


I had installed Android studio and was not able to access the AVD Manager directly. I had to follow the steps as mentioned below:

  1. Created a blank project using Android Studio
  2. Once the Project is ready to use I tried open action using the shortcut ctrl+shift+a option and searched for AVD Manager AVD Manager
  3. On double clicking the AVD Manager I got a few errors in console about the missing libararies along with the link to install the neccessary dependencies. On clicking the links which was displayed with the error message few packages which were needed were installed. Once all the required packages were installed the AVD Manager icon becomes active.




回答2:


interesting, looks like all icon shifted to the right of toolbar. please try open actions using shortcut Ctrl + Shift + A and than type AVD Manager, is avd manager options appear like this:




回答3:


The only thing that worked for me (with an existing project on a fresh install of macOS) was:

"File" > "Sync Project with Gradle Files"

This was odd to me since building the project succeeded with no errors or log messages, but I couldn’t run the project and there was nothing Android in the Tools menu.

I had already tried creating a new Android project and running that. It didn't help with my existing project.




回答4:


Here is a screenshot of me fixing this. I've encountered it many times, and it's always due to this config-related jazz:

  1. Click Event Log (bottom right)
  2. Click Configure of the Android Framework detected notification
  3. Done

If you do this and your icon still isn't lit up, then you probably need to set up the emulator still. I would recommend investigating the SDK Manager if so.




回答5:


I feel so damn silly. In my case, it turns out my Android Studio had two projects, one was for my React Native app root and the other for /android. If I closed the project and opened the /android project, I could access AVD Manager again.




回答6:


Fixed by enabling Groovy plugin. Enabling it also enables the "SDK manager" option.

  1. Ctr+Shift+A
  2. Write "Plugins"
  3. Search for "Groovy"
  4. Enable it and restart Android Studio.



回答7:


Should be something to do with your Platform Settings. Try the below steps

  1. Go to Project Structure -> Platform Settings -> SDKs
  2. Select available SDK's as shown in screenshots
  3. Re-start the Android Studio
  4. Android will detect the framework in the right corner. Click on it
  5. Then click ok as shown in second screenshot

SDK's Setup Frameworks




回答8:


It happens when there is no runnable module for Android App in your project. Creating new project definitely solves this.

You can check this using Run > Edit Configurations > Adding Android App. If there is not runnable Android App module then you can't see "AVD Manager" in the menu.




回答9:


Follow these steps:

There could be a better way but this worked for me:

1) Open android studio, go to preferences by clicking on the top left 'Android Studio'

2) Search for 'avd' in the search bar. You'll see 'AVD Manager' in search results. It will be under 'Tools' folder.

3) Click on it and it will ask you to set up a short cut. Set it up. Say for example use 'V' as a shortcut.

4) Now open android studio and create a new project. After the project is created, press your shortcut that you had set. Like 'V' in our case. It will open the 'Virtual Devices Screen'




回答10:


I had the same issue on my React Native Project. Was not just that ADV Manager didn't show up on the menu but other tools where missing as well.

Everything was back to normal when I opened the project using Import project option instead of Open an Existing Android Studio project.




回答11:


It Seems your AVD Manager is missing from root SDK directory please follow the Steps

  1. Go to sdk\tools\lib\ and copy AVDManager.exe
  2. Paste it to root of your sdk Directory. Now you have sdk\AVD Manager.exe

Now try to run it.



来源:https://stackoverflow.com/questions/47173708/why-avd-manager-options-are-not-showing-in-android-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!