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.

Filter by
Sorted by
Tagged with
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 ...
4
votes
2answers
6k views

Create an image of entire phone

My phone was out of my possession for two days. I would like to save an image of the entire phone and run it in an emulator to be able to debug/reverse it so I can check it out for malware or any ...
4
votes
0answers
6k views

Failed to change my mac address by Android terminal Emulator

I followed all steps in this article trying to change my mac address. https://geekeasier.com/change-mac-address-in-android-devices-without-root/4792/#comments. Then when I entered ip link set wlan0 ...
4
votes
2answers
2k views

Install OpenGApps in Android Studio Emulator (Marshmallow)

I wanted to install OpenGApps in an Android emulator (created in Android Studio). The emulator is running with Marshmallow. There is enough storage space available, so this is not the problem. I tried ...
4
votes
0answers
2k views

Special characters through my PC keyboard don't work in Genymotion emulator

I use Genymotion emulator version 2.2 to run android version 4.3. It is on Ubuntu 14.04. Typing with my keyboard works, but not for special non-asci characters like ščřžáíéúů. Pasting them works. I ...
4
votes
1answer
1k views

How can I add a Shared partition that Anbox can access?

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. I've got Anbox running and Apps open up really ...
3
votes
3answers
2k views

Endless loading for emulator on low-end netbook

I'm trying to develop on my old netbook but the emulator never completely loads. It keeps working and sometimes it freezes but then it doesn't finish booting. I'm not really skilled in Android ...
3
votes
1answer
4k views

How to start AVD emulator without device frame

When starting avd emulator, there is phone device like border around the emulator. How can I start emulator without that frame? It's taking too much screen space.
3
votes
3answers
108 views

Running Android on a PC as a nondeveloper, just to run apps

I am an Android user running Android 7.0 (Nougat) on a Wiko Sunny 2 Plus device with 4GB internal storage, most of which is taken up by pictures and WhatsApp data. I have purchased this device because ...
3
votes
2answers
8k views

read-only file system on emulator

I need to change /system/etc/hosts file on my emulator, and no matter what I do, I get "read-only file system" error. Does anyone know how to do it? I tried editing the file manually as su in adb ...
3
votes
2answers
12k views

How to fix the “Andy Installation failed - Please verify your connection” error when installing Andyroid?

I'm getting this error whenever I try to install the Andyroid Android Emulator: I'm using macOS 10.13.2 on a MacBook Pro (2016, with Touch Bar, 13", 512GB SSD, 8GB RAM). I've tried the following: 1. ...
3
votes
1answer
2k views

Android Emulator: How to avoid boot loop after rooting?

I was searching for a way to root an Android emulator. I was very thankful for finding an answer to how to root an Android Virtual Device here: Root Android virtual device with Android 7.1.1 The ...
3
votes
1answer
1k views

Keyboard Settings on Emulator revert on restart

My Android 2.3.3 emulator has four different keyboards: Japenese keyboard Chinese keyboard Android keyboard Sample Soft keyboard I uncheck all of them so that I can use the hardware keyboard. After a ...
3
votes
1answer
813 views

Nandroid backup of Emulator instance?

Is it possible to use Nandroid to backup an AVD instance?
3
votes
1answer
3k views

How to startd the AVD manager without starting android studio

Use AVD Manager without Starting Android Studio this question is the same as mine, but the answer does nt work for me. There's no executable to launchd AVD manager on my SDK directory (I'm on ubuntu). ...
3
votes
3answers
3k views

Edit hosts file on android studio messed up my emulator

I had to edit my emulator' hosts file in order to connect to a local development environment. I have followed this steps: Run the emulator: ~/Library/Android/sdk/tools/emulator -writable-system -avd ...
3
votes
2answers
787 views

How to tilt Google Maps in an emulator?

I am using the emulators (AVD) by Google to run an application which contains a Google Map Activity? On a real device I can use two fingers to tilt the map and see 3d buildings in certain zoom levels -...
3
votes
4answers
7k views

I want to install Viber and WhatsApp on Android emulator

I want to install Viber and WhatsApp on Android emulator. Kindly help me out.
3
votes
3answers
3k views

Android Emulator for Ubuntu 12.04

I installed a jdk and then an android sdk on my Ubuntu 12.04, 32-bit machine (2 GB DDR3 memory) The aim is to have an android emulator. I created some android virtual devices, one of which I named ...
3
votes
1answer
13k views

Does the Android emulator generate some sort of log file I can access if it crashes?

Let's say I am working with the Android emulator, and get it to run one of my custom images/custom kernels, and it gets stuck in a boot-loop or crashes after a little while in booting up, does it ...
3
votes
1answer
12k views

Connect android emulator to lan

I try, to connect my android emulator (from sdk) to the lan via a network bridge and a tap interface and with the -qemu option. I need it to use multicast addresse in native library code for ...
3
votes
1answer
3k views

Remounting system on android emulator lasts about 10 seconds and reverses until reboot

Found something odd with the Android 6.0 on x86_64 emulator (and possibly others) system images... is it something I'm doing wrong? When I remount /system and push stuff to it, it's giving me a ...
3
votes
1answer
6k views

Restore an Android Backup to an Android Emulator

Is it possible to backup my phone, and restore it to my computer to run under and android emulator? If so, how would I go about doing that?
3
votes
1answer
3k views

What are the command line options of Genymotion's player

Can someone give me a list of the cli options of Genymotion's player command. I see that I can get a list of the devices via VituralBox's command: $ VBoxManage list vms Then I can start the ...
3
votes
1answer
1k views

Is it possible to restore a ClockWorkMod backup to an emulator

Is it possible to restore a ClockWorkMod backup to an Android emulator using a PC?
3
votes
2answers
1k views

Unknown Host - Emulator network config question

I have an issue I need help with. I have the android emulator running using Eclipse Helios & ADTv20. I am able to get to internet using emulator. (google.com) However I cannot access any local ...
3
votes
1answer
532 views

Is Google Chrome for Android Beta compatible with the 4.0.3 emulator in the Android SDK?

Is Google Chrome for Android Beta compatible with the Android SDK (Android 4.0.3 system image)? I tried installing the Chrome .apk file and it installed fine. When running the application I can see ...
3
votes
2answers
453 views

Troubleshooting the Android Emulator

When starting up my emulator at home, the emulator takes forever to start. Sometimes it does not start. If the emulator starts, it is hit or miss if I get a network connection. When it does finally ...
3
votes
0answers
2k views

any emulator (or app for an emulator) that will sleep/lock after timeout?

I have tried different emulators on windows (Leapdroid, Nox MEmu, among others), and none seem to have the ability to automatically timeout on idle and go to the lock screen like almost every device ...
3
votes
1answer
4k views

How can I activate UDP forwarding for USB communication between a PC and an Android app

I have an real Android device connected to a computer via USB. I managed to activate TCP port forwarding with adb forward tcp:<port> tcp:<port> and successfully communicate with sockets ...
3
votes
1answer
7k views

'android' and 'emulator' commands not found

I have installed android-sdk-linux on my ubuntu 12.04 netbook and I see that the commands android (which opens the AVD Manager) and emulator (to which on appending the name of a specific AVD, the AVD ...
3
votes
2answers
2k views

How to install Gmail apk on emulator (from Android Development Tools, ADT)?

I'm working on an email app for Android, and I'd like to install the Gmail apk on my emulator in order to test it. How can I do that? I have seen tutorials on how to do it on windows, but I'm ...
2
votes
3answers
5k views

Android AVD throws errors, such as “Failed to sync vcpu reg”

How do I fix “Failed to sync vcpu reg” error? does not help. I tried all the solutions I could for Mac on the post but none worked. I started a new project and tried to run the emulator, but I get ...
2
votes
1answer
3k views

How can I manually add memory to the Android emulator?

I'm planning to buy an Android phone, but I want to try the applications in the Android Market using Android Emulator. I have downloaded many applications and reached the maximum apps I can download ...
2
votes
3answers
7k views

How to run Android apps on Amazon EC2?

I'm aware of two Android emulators such as BlueStacks (Windows and macOS) and Genymotion (macOS and Linux). They both use virtual images to run Android emulation and they work fine on my MacBook. ...
2
votes
1answer
4k views

Android Emulator change system sound

So whenever I turn on emulator, system sound changes. It feels like lower frequencies are cut off, or some strange filter is turning on. Any idea why it happens?
2
votes
2answers
3k views

Cannot take screenshots of Android L emulator

No matter which method I use, I cannot take screenshots of the Android L emulator. I tried through Android Studio, using the Android Device Monitor app, and through adb with this method (first answer) ...
2
votes
1answer
5k views

Cannot start emulator on Mac OS X

I'm using MAC M.L & Eclipse 4.2.2 ADT I've installed Eclipse on MAC OS X I can't create Virtual Device (AVD) Android SDK Manager error is Failed to run the Android SDK manager.Check the Android ...
2
votes
2answers
12k views

Android-Studio in VM. Emulator: audio: Failed to create voice `goldfish_audio_in'

Hello, I am trying to setup Android Studio 3.1.3 in a windows 10 x64 pro VM. I have installed Android 6.0 in AVD for ARM EABI architecture on a Pixel. However, when I try to launch the emulator I get ...
2
votes
1answer
11k views

Unable to open HAXM device: ERROR_FILE_NOT_FOUND

I am getting intel haxm error while running emulator. It was working 1 month back but stopped a while back. I tried a temporary solution to disable driver reinforcement which starts the emulator but ...
2
votes
1answer
3k views

How to detect GPS status through adb shell?

I need to detect GPS status through adb shell. I have tried dumpsys location command but the output of this command is not changed when the GPS is enabled/disabled.
2
votes
1answer
42k views

How to configure internet access in Virtual Device

My development machine is behind a proxy and Eclipse can access internet with no problem (the SDK Manager is downloading / installing packages and my proxy is configured in Eclipse). When I start a ...
2
votes
2answers
6k views

What do I need in my emulator to run Chrome's apk?

Most answers here just mention to download the APK file and install it via adb. But after that i get a dialog about critical functionality missing. What exactly are the requirements for running ...
2
votes
1answer
13k views

Unable to install system images for the Android SDK: “Failed to create directory”

I've just installed Xamarin, to use C# on Android: on their tutorial about how to install the emulator here. I saw they installed Intel x86 Atom system image and ARM v7a system image, so I did the ...
2
votes
1answer
2k views

Cloning an application with its full data store between devices

Given a generic application I would like to transfer it, full with its own data, to another device or to the emulator. After restoring the application and its /data/data/com.app directory it should ...
2
votes
1answer
426 views

Running “tcpdump” on Android shell gives error: “not executable: 32-bit ELF file”

I'm trying to install tcpdump to monitor network traffic. I've tried multiple versions from link1 and link2. Whenever I try to execute I get an error: ~$ adb connect 192.168.1.10:5555 ~$ adb root ~$ ...
2
votes
1answer
715 views

Cannot start android emulator64 due to Qt unable to load xcb

I cannot start the (android) emulator64-x86. It always fails with: --> ./emulator64-x86 -avd loli -gpu off This application failed to start because it could not find or load the Qt platform ...
2
votes
1answer
3k views

Can't start Android 8.0 Oreo on emulator: “Decryption unsuccessful”

I recently downloaded system images for API Level 26 (Android 8.0), on my SDK emulator but unfortunately I can't boot the virtual device all the way to home screen. I'm stuck on the following screens:...
2
votes
1answer
2k views

Would it be possible to use a image/video file as an emulated camera?

Hi I was wondering if it would be possible at all to 'trick' a real or emulated android device into thinking that an image or video file is the camera feed. So that you could open an app like Snapchat ...
2
votes
2answers
3k views

Check if a certain directory exists on AVD using ADB command

I want to check if a certain directory (e.g. /data/textdata/) exists on the AVD using adb shell. I'm following prolink007's answer on SO, except this line: DIR_RESULT=$(adb shell ls /data/ | tr -d '\...