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
1 answer

Eclipse AVD not displaying

I'm trying to run through the hello world example for android development. I'm at the point where i click the AVD Manager on the toolbar to choose my device. The first time i clicked it, it came up and displayed but froze when i tried to save a…
Jason
  • 2,147
  • 6
  • 32
  • 40
1
vote
1 answer

whenever application is executed it is displayed as blank in android emulator

Below i have pasted copy of my java,xml and logcat of the application. Here goes my java code package my.example.myproject; import my.example.myproject.util.SystemUiHider; import android.annotation.TargetApi; import android.app.Activity; import…
human
  • 637
  • 4
  • 15
  • 41
1
vote
3 answers

Activity not found exception even if it is declared in manifest

This is my logcat file which shows activity not found exception, even though I have declared it in manifest file.whenever I launch my app in eclipse avd "unfortunately has stopped" warning pops out. please help me with this. 12-15 07:42:47.833:…
human
  • 637
  • 4
  • 15
  • 41
1
vote
1 answer

Problems with Android ADT Bundle. Failed to allocate memory: 8

I am relitively new to Android development, but have been following a book, but I don't necessarily believe that my problem is, because of my experience level. Recently, Google updated to an Android ADT Bundle, which I thought was a wonderful idea,…
cameres
  • 498
  • 2
  • 5
  • 15
1
vote
3 answers

AVD Manager launch problems

My Android Virtual Device Manager is having launch problems. The AVD Manager buttons in Eclipse Juno do not do anything when clicked. I found the AVD Manager.exe file in the sdk folder and found that when clicked, a cmd window pops up for 1 second,…
Tim
  • 31
  • 1
  • 2
1
vote
2 answers

Problems with the AVD Manager - It doesn't launch

I have an annoying problem that the AVD Manager.exe does not launch. When I press the icon, the commander shows up and then immediately closed, and gives the message: "failed to execute tools\android.bat error 2. The System cannot find the file…
IdoShamriz
  • 63
  • 1
  • 3
  • 7
1
vote
1 answer

Creating AVD with Hardware Keyboard in Mac OS X 10.8.x

I am trying to emulate a Galaxy Nexus device in AVD Manager. I have checked both Hardware keyboard present and Display a skin with hardware controls, yet neither of these seem to work when the device is actually started. Does anyone have any way…
wasabi
  • 1,110
  • 10
  • 23
1
vote
1 answer

Error in adding an avd

I'm trying to add an avd, but the ok button is disabled: Any idea why?
Imri Persiado
  • 47
  • 2
  • 7
1
vote
1 answer

Android emulator not running with 2G RAM

I'm trying to launch the Android emulator on a PC with 16GB RAM (Windows 8 x64) with the following settings: Abstacted LCD Density: 240 Max VM application heap: 24 Device ram size: 2048 When I try to start the emulator, I get an error: Starting…
Ivan Gromov
  • 4,195
  • 9
  • 41
  • 57
1
vote
3 answers

unfortunately application has stopped AVD

So I'm creating a simple app that will show a googlemap. I have no project errors but I am getting the unfortunately "application" has stopped error. Here is my logcat 10-29 13:10:00.916: D/AndroidRuntime(458): Shutting down VM 10-29 13:10:00.916:…
Vasman
  • 7
  • 6
1
vote
0 answers

Yelp API with android avd

I can successfully run the yelp API as a java project. When I run it on the Android emulator I get errors. I have everything set up like this: Yelp Integration in Android My avd is up to date and I have the google api package installed. These are…
A H
  • 235
  • 2
  • 5
  • 15
1
vote
0 answers

Connect an AVD to WiFi instead of 3G

I'm currently trying to debug an app that requires me to be connected to wifi instead of 3G. How can I tell the AVD to say it's using WiFi instead of 3G?
W00t
  • 213
  • 3
  • 4
  • 10
1
vote
1 answer

Android AVD emulator not running app, but device does? (OpenGL)

Hi I am trying to run some sample openGl code on an emulator. I am new to Android development. It crashes on the emulator but not my device, a Samsung Galaxy Note phone N7000. The AVD settings I tried were: Target: Android 4.1 - API Level…
bsabiston
  • 721
  • 6
  • 22
1
vote
1 answer

Red "X" in "Android Device Chooser" in Eclipse

I have created an Android 4.0 AVD. When I start the AVD and go to run my app, there is a red "X" next to the 4.0 AVD. When I choose that AVD, it does not install the app. In my AndroidManifest.xml, I have
Chris
  • 5,485
  • 15
  • 68
  • 130
1
vote
1 answer

Android AVD cannot connect to internet

My Android emulators cannot connect to Internet. The connection used to work fine few month ago. It doesn't work neither from my application that should download RSS feed nor from internet browser. I am connecting using a 3G USB. The web page at…