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
1
vote
0 answers

get android.os.Build.SERIAL for emulator

How to get the serial for the emulator? If I use android.os.Build.SERIAL this works for real devices, but not for emulators :-( Contains "unknown" then - should be something like emulator-5554 - so I can use it in combination with "adb -s" EDIT: my…
ligi
  • 39,001
  • 44
  • 144
  • 244
1
vote
0 answers

Fragments with Loader (works on Tablet, but not on Handset -> Error not attached to Activity)

I have two fragments are supposed to work like in the picture. With a Tablet AVD it works perfectly, but when I use a handset AVD always comes this error message: 10-15 07:31:46.450: E/AndroidRuntime(721): FATAL EXCEPTION: main 10-15…
Mr.P.
  • 109
  • 1
  • 14
1
vote
0 answers

Android Virtual Device (AVD) displays a black screen on start

My Android Virtual Device (AVD) displays an id of zero on the first run on the screen's bezel i.e 0:emulator-name. See screenshot above. After 4-5 runs of the same virtual device it displays the expected id i.e 5558:emulator-name. But previous…
sachhi
  • 25
  • 3
1
vote
2 answers

Android AVD with lower API level

A bit of a silly question, but I am trying to play around with supporting different Android API levels and created a simple application which has the following SDK version settings:
El_o.di
  • 821
  • 2
  • 11
  • 22
1
vote
1 answer

Samsung Emulator Skins Not Showing in AVD Dropdown

I want to create an AVD with the Pre built skins available from Samsung like the S2. So I've downloaded them them their website here: http://developer.samsung.com/android/tools-sdks I unzip, place them in platforms->android-x->skins. But when I…
Bhagwad Jal Park
  • 1,093
  • 1
  • 13
  • 22
1
vote
0 answers

Android 3.2 AVD graphical issues on Retina MacBook Pro running 10.8

I'm running OSX 10.8 on a recent Retina MBP. I installed the Android emulator, but I can't get my Android 3.2 emulator to work properly. The emulator boots up and I can unlock it, but I can't get the apps to open. It starts pulling down the apps…
raddevon
  • 3,290
  • 4
  • 39
  • 49
1
vote
1 answer

AVD for API 14 (Android 4.0) simply doesn't work

Having built an application for Android Minimum SDK of API 14 I wanted to test this on its lowest possible version. It works fine and the emulator runs fine for API 16. Emulator runs fine for API 10 but the application crashes, as expected. I have…
1
vote
2 answers

emulator: ERROR: No initial system image for this configuration

During launching the AVD, I am getting error as "emulator: ERROR: No initial system image for this configuration!". I have downloaded the sdk ADT bundle for window from http://developer.android.com/sdk/index. Please help in removing the error.
Ambuj
  • 63
  • 1
  • 7
1
vote
0 answers

UDP_broad_2uni receive ECLIPSE_UDP_SERVER EXCEPTIONHost is down - Android

I'm using Chord SDK with Eclipse Kepler, a virtual device and Chord Relay Server for Android. I've followed the instructions from this tutorial, http://developer.samsung.com/chord, "Chord SDK Emulator Guide ver1.2". Why am I seeing this error…
oasisPolo
  • 138
  • 7
1
vote
2 answers

Samsung Galaxy S II AVD (Android Virtual Device) - "emulator: ERROR: unknown skin name 'galaxy_s2'"

I'm trying to create my first ever (Android) app using Eclipse. I've almost set up the AVD for the Samsung Galaxy SII (thanks to another question - Samsung Galaxy S II AVD (Android Virtual Device) Basic Settings?), but I am still encountering a…
user1963962
1
vote
3 answers

Android virtual Device not starting on a fresh android sdk installation

I am trying android development from last week.I am following the hello world tutorial given on the Android official site and following each step. But my avd is not starting . I am using windows 7 and i have downloaded the latest sdk. Here is the…
Abhigyan
  • 641
  • 10
  • 25
1
vote
2 answers

Ho an i install an APk file on AVD in android?

I have searched a lot many links on how to install an APk file on emulator ,But its really cumbersome and typical task i ever done.So can anyone please tell me any good reference or how to install an apk on AVD in android?
jigar
  • 1,571
  • 6
  • 23
  • 46
1
vote
1 answer

Unable to launch an AVD Emulator: PANIC: Could not open: /home/baldur/.android/avd/AVD_for_Nexus_7_by_Google.ini

I have been looking around online for tutorials on how to get started with development of Qt & OpenCV applications for Android devices, in particular a Nexus 7 running Android 4.2.2. By fooling around, I was able to create an Emulator and run on a…
1
vote
3 answers

How to I launch the AVD from Eclipse

I'm following the tutorial on creating an android application... http://developer.android.com/training/basics/firstapp/running-app.html It says: "click Android Virtual Device Manager from the toolbar." I don't have this button on my toolbar - does…
spiderplant0
  • 3,872
  • 12
  • 52
  • 91
1
vote
2 answers

Android eclipse emulator flashes white screen

I have a problem with android emulator, after a while of working with the emulator, installing and testing codes, the emulator screen start to flash white screens until its almost impossible to show the app behind. The avd is configured as "USE GPU"…
Woody
  • 1,589
  • 14
  • 16