Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [android-emulator]

The emulator is a tool used by Android developers to test their applications or by power users to preliminary test behavior of devices without using a real Android device. Only use this tag for questions about the emulator in the second scenario.

136
votes
8answers
119k views

How can I use my PC's keyboard on the Android emulator?

I want to run/test Android apps on the Android emulator and I want to type using my PC keyboard, as it lets me type and test faster. When I use the emulator though, it only accepts input from the ...
41
votes
2answers
57k views

What is `Snapshot` and `Use host GPU` emulation option(s) for?

When creating an emulator device, the option Emulation Options makes me confused. What do Snapshot and Use host GPU mean?
18
votes
1answer
12k views

How do I root the Android emulator?

How do I root the Android emulator? I need root to install an .apk file on the emulator.
18
votes
1answer
3k views

How do I fully charge my emulator battery?

It bothers me to see half charged battery. Anyone knows how I can fully charge it?
17
votes
3answers
24k views

how to adb wait-for-device until the home screen shows up?

I need to unlock my screen using adb, and wait-for-device exits way too early(when the device is booting up), and screen unlock fails. Is there a way to detect that the home screen, so I can fire ...
16
votes
5answers
10k views

How can I run Android applications on my PC with the Android emulator?

Is it possible to run Android applications on PC (with emulator)? I have Android SDK on my PC and I want to run Angry Bird on it. Can any body help to me?
16
votes
2answers
37k views

Transfer data from desktop to an emulator

I have some items in my ubuntu 12.04 desktop. I want to transfer them into the Sdcard of one of the avds in my android emulator (android-sdk-linux) which I have installed on the same system. Like to ...
15
votes
1answer
28k views

How to install Google Play services on an Android 6.0 emulator?

Is there a way to install Google Play app on an Android 6.0 (Marshmallow) AVD? I have found the Open Gapps for Android 6 here: https://www.androidfilehost.com/?fid=24269982087008996 To install them ...
14
votes
5answers
2k views

Good non-developer Android emulator?

Personally, I own an iPhone. However I would love to see the Android UI. I know a person who does have an Android, but never see it enough. I'd really love to have a good emulator that non-developers ...
14
votes
1answer
52k views

Use image file as camera

Instead of using the real camera, I would like to simulate the camera input as a static image file. I want it to work with any app, as if it was a camera. To be specific, the Android is inside an ...
13
votes
2answers
18k views

How to add Google Play support in Anbox?

I know it's a relatively new and unstable application but I figured if anyone has suffered through the issue and solved it then they can help me too. Anbox does't come with Google Services, As Google ...
12
votes
1answer
32k views

Root Android virtual device with Android 7.1.1

I'm using the official Android SDK with the Android Emulator to create a virtual Android 7.1.1 (x86). I need to test a number of things, amongst others, some applications require root access to the ...
11
votes
3answers
18k views

How to solve: “Failed to push selection: Out of memory”

I Create an article in Stack overflow. But as I found this site, I decide to ask the same question here, because I still need your help. I have made the following steps: Launch Eclipse Go To: ...
11
votes
1answer
907 views

How to test multi-user feature of 4.2 JellyBean on Nexus 7 tablet emulator?

I know multi-user functionality is available in Android 4.2 JellyBean: I have gone through THIS and THIS. But I want to test this feature on my emulator and not on the actual device. My Questions: ...
11
votes
1answer
8k views

Use AVD Manager without Starting Android Studio

I would like to use the Android Emulator to work on some APKs. In order to start the Android Emulator, based on the instructions here: https://developer.android.com/studio/run/managing-avds.html So, ...
10
votes
6answers
11k views

How can I make my emulator load faster?

I just installed eclipse along with the tools for developing android apps tonight; so I'm new to both of them. Anyway, my emulator takes about 5 or more minutes to load each time, and generally comes ...
10
votes
1answer
38k views

Android Screen In virtualbox Rotate 90 CCW?

I install Android 4.4 x86 on virtualbox in windows 8.1 That was Ok But when I install my first app pheed on it . now when I run pheed app my screen rotate 90 ccw like as image . I try some ...
10
votes
2answers
11k views

Does an Android Emulator exist which works with every possible app?

I'd like to install a specific free android app, which works under different Android smartphones (minimal requirements of Android 4.0): The freely available app is called PostCard Creator and useful ...
9
votes
3answers
8k views

Improve Android Emulator Performance on Windows 7 x64

I'm running Eclipse Helios on Windows 7 x64. I have a Core 2 Duo 2.0 Ghz with 4.0 GB which I think should be enough, since I've never have any performance problems with other developing tools. When I ...
8
votes
7answers
13k views

Reinstall AVD on Ubuntu 16.04

Emulator was not installed upon installing Android Studio. Here is the error when I call tools/android/avdmanager: sh: 1: glxinfo: not found sh: 1: glxinfo: not found libGL error: unable to load ...
8
votes
2answers
2k views

Trying to solve Problem: Huge Contacts Database

On a HTC Sensation running ICS 4.0.3, something caused my contacts database to rapidly grow. The DB is now 580 megabytes and growing (sometimes over a megabyte per hour) despite the fact that I: ...
8
votes
1answer
12k views

Boot Android Virtual Device into recovery mode

I am trying to install the Google Applications packages on an Android virtual device (emulator), and one of the steps requires me to be in recovery mode. I tried adb reboot recovery, adb reboot ...
8
votes
1answer
3k views

Intel HAXM and Host GPU on Mac OS 10.8.2 (NVIDIA)

I installed HAXM 1.0.4 and I cannot run Android emulator with option 'use host gpu' checked, it shows cyclic GL_* errors. I am using Mac OS X (mbp with NVIDIA GeForce 320M). Without gpu emulation ...
8
votes
1answer
2k views

Android Emulator using Hardware Keyboard has no “Umlauts”

I have the latest ADT installed and when I start the emulator I am not able to type, for example, German umlauts. I have tried to change the settings in android to German keyboard layout but that ...
8
votes
2answers
1k views

Android SDK 2.1: Unable to install app from Android Market on the Emulator

I am testing the Emulator that comes with Android SDK 2.1, but I am Unable to install app from Android Market. I made the Login on www.google.com but still no success: This is the error message: ...
7
votes
3answers
2k views

Android Market gone after emulator reboot

I have installed Android Market on Android Emulator successfully using steps mention in [How to] Install Android market on Emulator Market is installed without any issue but after emulator reboot ...
7
votes
2answers
767 views

What do I need to improve performance of the Android emulator?

I currently use Ubuntu 10.10, and I find the emulator extremely slow. However, I have an Intel Core 2 Duo CPU (T5200 processor) with 4G of RAM. What do I need to improve performance? Better hardware? ...
7
votes
1answer
5k views

Check if emulator is using kvm in android studio

I have followed all the instructions from here and here for enabling kvm for android studio to enable vm acceleration. Still I suspect that when I start android studio it isn't using kvm because on ...
7
votes
0answers
8k views

Android emulator reports 0x501 error while using GPU Emulation with OpenGL ES [closed]

I am trying to run the ArcGIS for Android samples in Android Emulator. Based on the ArcGIS recommendation, I have installed the Intel HAXM and enabled the GPU Emulation as well. While running the ...
6
votes
1answer
4k views

How to make phonecalls on an Android AVD?

I am new to Android SDK and AVDs and I was wondering if there is anyway I can enable the cellular network on an Android AVD and make for example phone calls.
6
votes
1answer
11k views

AVD Emulator, “Unfortunately, Browser has stopped”

I'm trying to get started with development. I have just installed the SDK (ADT v22.3.0-887826) on Linux Mint 15 x86-64. I haven't made any configuration changes to the default installation of ADT, and ...
6
votes
4answers
11k views

How can I run the Android emulator together with another VM?

Whenever I open an Android emulator when a different kind of VM is already running, I get the "usual" error messages: emulator: Failed to sync vcpu reg emulator: Failed to sync HAX vcpu context ...
6
votes
1answer
414 views

How do I use the emulator with AppInventor?

How did you enable an emulator for AppInventor? I want to test out the junk that I created on a emulator, before using it on my phone.
6
votes
1answer
1k views

How to install Google Play services on an Android 7.0 emulator?

I have the stable version of Android N Preview SDK released last month. The emulators are working perfectly but there is no Gapps available for Android N and there is no way I have found to install ...
6
votes
0answers
974 views

Google-cast to Android TV emulator

I was wondering if I can use the Android TV emulator (available from Android SDK) as a Chromecast emulator. Android TV devices (like the Nexus Player) are Google Cast targets. I was assuming that the ...
5
votes
1answer
4k views

Accessing a web server running in Android emulator from my local machine

I'm trying to access a web server running on the Android emulator from my machine. I know the reverse i.e., how to access the server running on my local machine from the Android emulator (using 10.0.2....
5
votes
1answer
6k views

Can I use Android Emulator to get the Free apps from Amazon's app store?

It is said that we can test drive using Android apps even using an Web based android emulator for Amazon, but I don't see it on Amazon's Angry Birds webpage? Can we download the Android SDK and use ...
5
votes
1answer
10k views

Can't use chmod to alter permissions on emulated phone

So, I'm trying to make an app in android studio and I need to reference a particular file in the app, cascade.xml. I've pushed it onto the emulated phone no problem using adb (it's in the storage/...
5
votes
2answers
8k views

ADB - Android emulator - Unable to record video - screenrecord not found with Android 5.11

I installed android emulator, the SDK Tools v24.1.2, Android v5.1.1. After all this the emulator is UP and I am able to run my app. Where I ran into problem was while trying to do a screenrecord ...
5
votes
1answer
4k views

How can I allocate more than 1024 MB of RAM to an Android Virtual Device?

I want to work with 1024MB or higher RAM sizes but when I try to start my Virtual Device it is giving the error: Failed to allocate memory: 8 I researched many thing about this issue; Some ...
5
votes
0answers
3k views

How to boot custom ROM on Android Emulator?

I'm trying to run OmniROM on Android Emulator but I'm facing some problems. Really, I'm able to build the nightlies (homemade) without problems and run the standard Android "vanilla" that comes with ...
4
votes
1answer
928 views

Skinning the Android emulator

I need to have mobile skins for the Android emulator, specifically for testing apps, for which I have referred this site: http://teavuihuang.com/android/. I would like to have HTC 4G EVO skin. Where ...
4
votes
3answers
3k views

Connect physical Android Wear watch to emulated phone

I have found many tutorials that explain how to pair an emulated Android Wear watch to a physical phone. However, I would like to do the opposite. Is it possible to create a Bluetooth connection from ...
4
votes
1answer
2k views

Unable to get output buffers (err=-38) when attempting to screen-record emulator from ADB

I am attempting to capture a video of my emulator device screen using the screenrecord feature in ADB. When I run the command adb shell screenrecord --verbose /sdcard/demo/capture.mp4 I get the ...
4
votes
1answer
4k views

Merging multiple SMS databases

I have a lot of problems with my phone, and so I have a number of nandroid backups with different sets of overlapping SMS messages saved in them. I've also made a few copies of the data folder when ...
4
votes
1answer
33k views

How to enable Wifi on an AVD

How can I enable WiFi on an AVD? I am emulating the Android version 2.3.3 API 10 and when I click WiFi in the phone settings menu it just says 'error'.
4
votes
1answer
6k views

How to flash a ROM to the Android emulator

Any idea about flash a ROM to the Android emulator? I found this post: http://android.modaco.com/content/general-discussion/289928/testing-getting-an-emulator-up-and-running-a-full-rom-with-the-...
4
votes
1answer
1k views

How to do ADB over 'wifi' (actually in the same PC) for emulated device

I'm trying to use adb over 'wifi' for my emulated device. I'm emulating a device on my computer and wanted to use Android Studio to send an APK to it but through the network sockets, not through ...
4
votes
2answers
2k views

Feed an image to Genymotion Camera

Context: I use WhatsApp on Genymotion. Chatting in the WhatsApp via Genymotion is fine, except, I wish to enable the WhatsApp web too, so I could free myself from bringing up the genymotion window ...
4
votes
2answers
52k views

Problem with Android Emulator on Android Studio. HAXM Kernel Module not Installed [duplicate]

I recently switched over from Eclipse ADT to Android Studio and as soon as I tried to fire up the emulator, I saw the following message: emulator: ERROR: x86 emulation currently requires hardware ...