简体   繁体   中英

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).

在此输入图像描述

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.

在此输入图像描述

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM