Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 2.3 AVD Manager Greyed out?

I just recently installed Android Studio (Version 2.3) so I could use the SDK / AVD GUI manager built in now that the standalone is deprecated. I'm on Windows 10 and this is a fresh install. My goal is to be able to setup a virtual device as well as setup my own android device to run a NativeScript app. After install the SDK button is available, but the AVD button is disabled (below).

enter image description here

I have the Android 7.1.1 (Nougat) SDK Platform installed and the Intel x86 Emulator Acc. installed (below). This is all default installs so far.

enter image description here

I've tried installing / reinstalling as admin as well as opening as admin per this post to no avail.

The Android SDK home path, build target, and Java SDK are setup in the project structure by default correctly as well.

Any thoughts on what I'm missing here?

As a side note the android help page for creating AVD's lists a menu option (tools -> android ) which doesn't exist.

like image 240
Ryan Q Avatar asked May 17 '17 04:05

Ryan Q


People also ask

How do I enable AVD?

You can launch the AVD Manager in one of the following ways: In Eclipse: select Window > Android Virtual Device Manager, or click the AVD Manager icon in the toolbar. In Android Studio: select Tools > Android > AVD Manager, or click the AVD Manager icon in the toolbar.

How do I fix Avdmanager is missing from the Android SDK?

SDK Build tools are installed when you create a new project. 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.

Why is my AVD not working?

In case you get an error like "Intel virtualization technology (vt,vt-x) is not enabled". Go to your BIOS settings and enable Hardware Virtualization. 3) Restart Android Studio and then try to start the AVD again.


1 Answers

My issue was Android Studio does not understand where to load the nativescript android project even after adding android as a platform (If someone knows a way around this, feel free to post). In my particular case I'm testing the angular-seed-advanced. To at least get the command line working (AVD manager is still greyed out):

  • Create a new blank android "test" project in android studio
  • The AVD Manager becomes available
  • Setup an virtual devices as necessary
  • Reopen nativescript project
  • use command npm run start.android
  • prepare, build, run and livesync will work as expected now.

Hope this helps someone else get started.

like image 57
Ryan Q Avatar answered Oct 16 '22 19:10

Ryan Q