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
689
votes
19 answers

Error in launching AVD with AMD processor

I have Windows 8.1 pro with an AMD processor. I installed the Android SDK and Eclipse. It works but the problem is that when I Create AVD and launch it shows this error: emulator: ERROR: x86 emulation currently requires hardware acceleration! …
Jitesh Gaikwad
  • 7,009
  • 3
  • 11
  • 3
495
votes
73 answers

Android Studio doesn't see device

The AVD Manager in Android Studio doesn't show my device but adb devices does show it. Am I missing something obvious here?
amnesyc
  • 5,172
  • 4
  • 18
  • 19
378
votes
36 answers

Run AVD Emulator without Android Studio

is there a way to run the emulator without starting the Android Studio first. Perhaps from the command line. I know that this feature was available in older versions and has vanished since then. But perhaps someone found out how to do it anyways?
HHeckner
  • 4,722
  • 4
  • 23
  • 33
354
votes
7 answers

How to create an AVD for Android 4.0

Android 4.0 is now released. I have just updated my ADT plugin and downloaded the 4.0 SDK. But when I try to create an AVD for Android 4.0, Eclipse tells me 'Unable to find a 'userdata.img' file for ABI armeabi to copy into the AVD folder'. I found…
chengbo
  • 5,789
  • 4
  • 27
  • 41
351
votes
10 answers

How do you install Google frameworks (Play, Accounts, etc.) on a Genymotion virtual device?

I'm currently trying out Genymotion and boy, it's so much faster than the ADT emulator. But I need to install Google Play to download some apps into it. How do I do this?
radj
  • 4,360
  • 7
  • 26
  • 41
310
votes
16 answers

Running the new Intel emulator for Android

Lately Google and Intel have published a new way to run the emulator, which should work much better than the previous version (which has emulated ARM CPU). Here are some links about it: this and this. However, after installing the new components and…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
308
votes
70 answers

Android Emulator issues in new versions - The emulator process has terminated

After updating to Android Studio 2020.3.1 canary 15, when I try to run an emulator, it gets killed with this error: The emulator process for AVD Pixel_4_API_30 has terminated. It was working correctly in the previous version (4.1.3), but now after…
254
votes
22 answers

Possible to change where Android Virtual Devices are saved?

I've set up the Android SDK and Eclipse on my machine running Windows XP and AVDs (Android Virtual Devices) are saved to "Documents and Settings\user\.android" by default. Is there any way to change this behavior? I have all of the other…
primehunter326
  • 2,812
  • 3
  • 18
  • 14
223
votes
23 answers

How to increase storage for Android Emulator? (INSTALL_FAILED_INSUFFICIENT_STORAGE)

I get this sometimes(not often) for one of my projects, couple of classes only Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE How do I increase emulator's storage?
Pentium10
  • 204,586
  • 122
  • 423
  • 502
219
votes
10 answers

Is Google Play Store supported in avd emulators?

After googling quite a bit I am unable to find the answer to this question. Is google play store officially support in avd emulators. I know it was once stopped , then I hear that it was brought back after specific version of android. I am using…
213
votes
11 answers

Is there a way to automate the Android SDK installation?

Now I have to download and install the Android SDK and AVD Manager, and then install the APIs, tools through the UI. Is there a way to automate this process?
dongshengcn
  • 6,434
  • 7
  • 35
  • 44
196
votes
26 answers

Android - Emulator in landscape mode, screen does not rotate

When I switch to landscape mode (NUMPAD 7 or CTRL+F11) the emulator rotates the screen to landscape orientation but the Android OS and none of the apps rotate. So everything is sitting sideways. Is there something in the AVD configuration that needs…
Jake Wilson
  • 88,616
  • 93
  • 252
  • 370
187
votes
23 answers

Emulator error: This AVD's configuration is missing a kernel file

This problem was discovered when I tried to run the Android emulator in Eclipse. Can't figure out what happened. I searched online for the solution, but it seemed to be vague and I don't understand clearly. I was following the steps to install the…
shoujo_sm
  • 3,173
  • 4
  • 37
  • 60
161
votes
3 answers

How to rotate portrait/landscape Android emulator?

I am new to Android development. I know if you change a android phone from portrait to landscape sometimes the app relays its self out on the screen.. so how do I simulate rotating a phone with the emulator? On the Blackberry emulators there's a…
Bex
  • 4,898
  • 11
  • 50
  • 87
155
votes
8 answers

How do I remove an image-system for avd file in Android Studio?

I want to remove the api 16 of jelly bean but there is not remove button how can I do that. image file is very big size file so I need don't many system image file
You.Brighton
  • 1,958
  • 2
  • 15
  • 22
1
2 3
99 100