Questions tagged [android-virtual-device]

Android Virtual Device (AVD), is a virtual instance of the target device (phone/tablet) which can be run in the Android emulator for simulation.

Android Virtual Device (AVD), is a virtual instance of the target device (phone/tablet) which can be run in the Android emulator for simulation.

AVD supports various CPU architectures and Android API levels, emulating the necessary instruction sets. It supports some hardware like external SD card, camera that can be emulated using webcam and keyboard that can be emulated using both on screen and physical workstation keyboard. Some other hardware sensors can be emulated on AVD by using SensorSimulator.

Developer can have multiple AVD on the desktop. While AVD is not a complete replacement for testing on a physical phone, a physical phone is also not a complete replacement for AVD as AVD allows to test under various architectures , APIs and screen sizes.

Developers can use avdmanager to create or delete AVDs or manage them through Android Studio. There are several commands and options to manage and edit AVD settings here.

2618 questions
152
votes
33 answers

Cannot launch AVD in emulator:QT library not found

I am new to Android Studio and I am having problems while using the emulator. When I try to run it keeps crashing saying: "Cannot launch AVD in emulator" [6816]:ERROR:./android/qt/qt_setup.cpp:28:Qt library not found at …
Jay
  • 1,521
  • 2
  • 9
  • 4
144
votes
10 answers

Can't change emulated performance of AVD in Android Studio

I can't change the graphics to software as I'm sure this is the fix for my AVD not launching. The option is greyed out (see screenshot). Has anyone has experience with this? I couldn't find anyone who had the same issue. I'm running the latest…
136
votes
3 answers

Is there a repo where you can download android virtual devices?

Does anyone know, if vendors provide or if there is a site where one could download AVD profiles for existing android devices on the market so you can run your apps in the emulator and basically see how they will run on said devices? I know it's…
thepearson
  • 2,228
  • 3
  • 18
  • 24
132
votes
20 answers

Why AVD Manager options are not showing in Android Studio

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 —>…
user5405873
123
votes
10 answers

What is the command to list the available avdnames

I know I can start the emulator avd by typing emulator.exe @avdname But is there a command to list the available avdnames? Where are this avd configuration stored?
Lukap
  • 31,523
  • 64
  • 157
  • 244
121
votes
9 answers

Moving default AVD configuration folder (.android)

After installation of Android SDK, the folder .android was created on the E:\ drive. As far as I know, this is the default folder of Android Virtual Devices for configuration files. How can I move .android folder to a different location? (eg. from…
102
votes
5 answers

How enable physical keyboard on Emulator in Android Studio? (Used to work)

I'm not sure what changed but the physical keyboard from my computer no longer works for the emulator (running kitkat in Nexus 5, x86). When i look in AVD at the device's advanced settings, there's nothing for a hardware keyboard. Where is this…
Don Rhummy
  • 24,730
  • 42
  • 175
  • 330
94
votes
14 answers

Cannot create or edit Android Virtual Devices (AVD) from Eclipse, ADT 22.6

This problem sounds similar to a few others, except in my case the OK button is not grey-ed out. But for those who would rather not click the links... Trying to create or edit an AVD from within Eclipse, after entering my settings, the "OK" button…
BarleyWarb
  • 1,061
  • 1
  • 7
  • 4
93
votes
7 answers

How to get the Android Emulator's IP address?

I want to get the currently running Android Emulator's IP address through code. How can it be achieved?
Rajapandian
  • 9,257
  • 24
  • 74
  • 86
89
votes
8 answers

Can't find AVD or SDK manager in Eclipse

Seems like I'm having some problems after updating my android sdk tools and platform-tools using the sdk manager. The problem is that, after updating, I found that the avd or sdk options in the windows dropdown menu in eclipse are gone! And, I can't…
Ishtiaque Khan
  • 1,196
  • 1
  • 10
  • 18
83
votes
2 answers

How to prevent Android Studio / AVD "CANNOT TRANSLATE guest DNS ip" error messages?

About every 4 second after I start the emulator device from my Android Studio project an error message is printed into the Run window. It's extremely annoying because it hijacks the focus. If I'm in the Debug window it switches to the Run window…
Csaba Toth
  • 10,021
  • 5
  • 75
  • 121
80
votes
14 answers

PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT (in windows 10)

While running an app on the virtual device (AVD) created on Android studio (in Windows 10), I am getting an error and panic. Emulator: PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT Emulator: Process finished with exit code…
MSD Paul
  • 1,648
  • 3
  • 13
  • 31
78
votes
16 answers

How to load my app from Eclipse to my Android phone instead of AVD

I'm quite new to Android and have been using an AVD to debug my app so far. However, I want to start checking the media options and therfore need to start using my Android phone. How do I get Eclipse to load my app to my phone instead of my AVD?
user616076
  • 3,907
  • 8
  • 38
  • 64
78
votes
3 answers

Android Emulator: select AVD (Android Virtual Device) to run by default

I have added a second Virtual Device to test a different screen resolution (QVGA), but now I wanna switch back to the first AVD (HVGA) again. How can I set the virtual device in Eclipse to be used by default or even specifically for my project? In…
znq
  • 44,613
  • 41
  • 116
  • 144
76
votes
3 answers

eclipse not showing Avd manager window and android project

I'm using Windows 7 and Eclipse Helios. I installed all packages successfully and I could run avd on the command line, but Eclipse was not showing the AVD Manager window and my android project. Why?
vnshetty
  • 20,051
  • 23
  • 64
  • 102