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.

155 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8 votes
0 answers
1k 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 ...
noamtm's user avatar
  • 269
5 votes
0 answers
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 ...
sup's user avatar
  • 171
4 votes
0 answers
13k 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 ...
Momywife's user avatar
4 votes
0 answers
4k views

Is it possible to make Android Emulator appear as an USB device on my computer?

I know that I can't plug USB devices inside android emulator like a pen drive. But is it possible to make my emulator look like a regular phone connected to my computer? I launched the emulator, ...
Guerlando OCs's user avatar
4 votes
0 answers
563 views

Emulator startup issue

I am trying to run a standard AVD (ARM, empty layout, other settings as proposed by Android Studio) on the emulator. Enabled -verbose, -debug all and -show-kernel modes. The emulator boots, but ends ...
Enrico's user avatar
  • 141
4 votes
2 answers
3k 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 ...
CharlyDelta's user avatar
4 votes
0 answers
5k views

How to change the Android emulator phone number

Is it possible to change the phone number of mine on the android emulator, just like Genymotion which is always show me 1-555-521-xxx number. any ideas would be nice and appreciated.
user3627127's user avatar
4 votes
1 answer
2k 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 ...
Sumeet Deshmukh's user avatar
3 votes
0 answers
929 views

Why can't I turn on Wi-Fi on the Waydroid emulator?

I just installed the Android emulator called Waydroid on Ubuntu 22.04. Almost everything seems to work as expected, except that I'm completely unable to turn on Wi-Fi usage. Whenever I toggle Wi-Fi on ...
christian_js's user avatar
3 votes
0 answers
530 views

How do I move a data file into an Android emulator application data folder?

I have a favorite Android app that saves its projects as name.ay files. I want to import such a file into an AVD running Android 11 so I can work on my PC (Fedora 35), but the app has no import ...
Brian Kowalchuk's user avatar
3 votes
0 answers
10k views

ADB backup and restore app data between device and emulator?

** = Edited on 03/31/2018 * = Edited on 03/25/2018 I have an application for which I'd like to transfer the app data from my physical device to an emulator on my PC. *The data consists of a single ....
Arctiic's user avatar
  • 697
3 votes
0 answers
2k views

Mount encrypted emulated avd userdata-qemu.img.qcow2

I'm trying to make a backup of my AVD. To speed things up, I like to make incremental backups. Backing up the *.img.qcow2 file(s) is inefficient. I'd like to be able to mount the filesystem that ...
Duncan Townsend's user avatar
2 votes
0 answers
137 views

Is it possible to make Android Emulator appear as an USB device on my Linux machine?

I need to access both ADB and MTP from one emulated device. May be there is some ready-made solution that can emulate android device via usb device emulating? All that I found is an android kernel ...
DarkLex's user avatar
  • 21
2 votes
1 answer
159 views

Frame buffer not working in Android emulator when accessed from Linux

I am running Linux with kernel from Android SDK in an Android emulator. When writing from /dev/urandom to /dev/fb0, nothing is drawn in the emulator window. Why? Can you help me with this problem?
Pavel Samsonov's user avatar
2 votes
1 answer
550 views

Android Emulator Performance is Extremely Unstable

First of all, hopefully this is the right place to post this type of question - if it isn't, do let me know. I have a relatively new PC with 16 GB RAM, 10th Gen Core i3, 4 physical and 4 virtual cores ...
thebluepandabear's user avatar
2 votes
0 answers
877 views

Show remote android emulator window in local

Hi I've configured Android development environment in a remote dedicated server running Ubuntu 20.04 with the help of the tutorial https://proandroiddev.com/how-to-setup-android-sdk-without-android-...
Arnab Das's user avatar
  • 121
2 votes
0 answers
94 views

How to cryptographically verify the authenticity and integrity of Android Studio releases (with gpg?)

For a given Android Studio release published by Google, how can I cryptographically verify the authenticity and integrity of the .tar.gz file that I downloaded before I copy it onto a USB drive and ...
Michael Altfield's user avatar
2 votes
0 answers
26k views

Android Studio emulator: Failed to start monitoring emulator-5554

I am forking this app and trying to make some changes to it and run it. I've managed to do so on my laptop but it's painfully slow, so I am trying to set up the whole thing on my PC but I get the ...
Petar Vasilev's user avatar
2 votes
0 answers
307 views

AVD adb push gapps

i try to get gapps working on my avd. I already use a google api image, but anyway the store is missing. Every tutorial tells me to push open gapps via adb: https://medium.com/@dai_shi/installing-...
Stack's user avatar
  • 21
2 votes
0 answers
2k views

Using USB NFC reader as native from Android Emulator

I'm testing an Android app that uses NFC. However, my actual testing phone does not have NFC capabilities built-in. What I do have is a USB NFC reader for Windows. Is there a way I can open my app on ...
Iaka Noe's user avatar
2 votes
0 answers
1k views

How to emulate swipe actions with keyboard for Android-x86?

I want to play some RPG games on Android, but I own a mediocre phone which does not run them well. Running them inside Android-x86 on my PC sure runs them better, but there's just one problem: these ...
poorguyneedshelp's user avatar
2 votes
1 answer
1k views

How to use KVM alone without Android Studio AVD to emulate official x86_64 android images

I want to use official (google compiled) x86_64 android images. I know that I can use AVD manager from Android Studio to easely run and manage them. However, I use virt-manager with KVM, so I can't ...
Guerlando OCs's user avatar
2 votes
0 answers
2k views

Android virtual device 7.1.1 stuck on logo screen after root

I just rooted AVD following the procedure described here. everything goes fine and the AVD is being rooted and i can access system folders, but as soon as i restart the emulator, it will not boot up ...
Ali's user avatar
  • 121
2 votes
1 answer
3k views

Using Android Emulator's Root Shell via Command Line

I want to get a root shell since my adbd crashes. But the -shell option does not work. Meanwhile, I found out, that you can get a shell by using -show-kernel. But I would like to communicate with the ...
D. Joe's user avatar
  • 21
2 votes
0 answers
2k views

Android Emulator not starting

Using Ubuntu 15.10 I am not able to emulate an Android device using any x86 images. The emulator starts but the screen stays black. Using an ARM image works. From what I found it seems to be ...
Chris's user avatar
  • 21
2 votes
0 answers
2k views

"Unfortunately gallery has stopped" error appearing while running Android x86-4.3 in VirualBox

I have installed Android x86-4.3 in VirtualBox yesterday! But there are some problems: Gallery, Camera, Navigation, Live Wallpapers etc. won't open and showing error "Unfortunately has stopped". I ...
GP92's user avatar
  • 131
2 votes
0 answers
537 views

Emulator takes forever to shutdown!

The title just says it all. My 3.3", Android 2.3.3 emulator (armeabi) boots averagely in 150 seconds on my Ubuntu 12.04, 64 bit system, with 2 GB DDR3 memory. However, sometimes when I tried shutting ...
Karthik C's user avatar
  • 627
2 votes
0 answers
231 views

Changing 3D Gallery with virtual device 2D Gallery

I have a ZTE Blade which reboots everytime I open the 3D Gallery. I am using the official stock ROM (Froyo) rooted. I realized that the android emulator which SDK brings has a lighter 2D version of ...
Marcos's user avatar
  • 21
1 vote
0 answers
67 views

Banking apps disabled in Android SDK emulator

Does the Android SDK emulator run apps with FLAG_SECURE used from Android 12? I have been trying to run different banking apps, which work but crash when I get to the login screen which is flagged ...
Zwiesler's user avatar
1 vote
0 answers
375 views

Running ARM64 Android on ARM64

I have a Linux ARM64 computer (not phone). How can I use this to run an ARM64 Android phone image? Android Studio does not work on ARM64 computers. Android Studio with emulator works on x86. I do not ...
maxjuahob's user avatar
1 vote
0 answers
111 views

Shared folder on BlissOS 15 (Android 12L) based on 9p virtio in qemu

Using Qemu I managed to run BlissOS almost perfectly. For the record this is my script to install and launch BlissOS with Qemu (I use also an additional USB stick for storage to be able later on to ...
Nihsotas's user avatar
1 vote
1 answer
526 views

Connect laptop's webcam with new Genymotion

I noticed that the new version of Genymotion 3.3.x doesn't have anymore the (very useful) webcam activation feature. As I would just need that and I have no need to use more advanced features, is ...
rubiker's user avatar
  • 11
1 vote
0 answers
1k views

Disk size of Android Studio emulator increases over time

I installed the emulator Pixel 2 API 33 on my Android Studio. Initially it consumed about 8GB of my disk space, but it now emerges to 10GB. I reckon it will grow larger in the future. Why does that ...
Nikola Tolzsek's user avatar
1 vote
0 answers
253 views

Shortcut to switch to physical keyboard layouts

I use Android Emulator on MacBook Pro M1. I have trouble with a physical keyboard which works in a very odd way as it doesn't change the layout with ctrl + space and any other combinations. So I need ...
madfcat's user avatar
  • 11
1 vote
0 answers
1k views

gateway and dns in android

How to setup gateway and dns on android emulator correctly if my eth1 on emulator is connected to tap on host via: emulator -dns-server 8.8.8.8 -selinux permissive -qemu -device virtio-net-pci,netdev=...
ice's user avatar
  • 11
1 vote
1 answer
269 views

Android Emulator cellular speed limits does not work properly

I need to limit cellular speeds in Android Studio's Emulator. I tried to limit it from the default settings: but it does not work. Each time I select anything lower than LTE I get like 0.01Mbps. Any ...
Baterka's user avatar
  • 111
1 vote
0 answers
776 views

Send Physical keystrokes to the keyboard on emulator or real device

I need a way to press a key on an Android Keyboard ( irrespective of its language). For example, if the keyboard is in English and I press the "q" key it should type "q" but when ...
jainil's user avatar
  • 19
1 vote
1 answer
528 views

How to change vendor.img contents with android emulator?

So, I have a custom AOSP image that I'm building, and it allows me to provide my own kernel and debugging features that I want (this is just for the record, because you can't do some things that are ...
Adam Miller's user avatar
1 vote
0 answers
248 views

How to PreRunning preloading pretesting custom/stock ROM in android virtual machine on mobile device

Question How to PreRunning preloading pretesting custom/stock ROM in android virtual machine on mobile device I Have many custom android custom rom (android 6,7,8,9,10,11) availabale for my device ...
Androidquery's user avatar
1 vote
0 answers
319 views

Is it possible to create a .ISO or .IMG of my smartphone and emulate it in a Android Emulator?

I have a Moto G6 running Android 9. I would like to generate a ISO or IMG of my smartphone and load it by using a Android Emulator in a computer. Is that possible?
Andre's user avatar
  • 111
1 vote
1 answer
651 views

Changing Android Studio Emulator from localhost:port to 192.168.x.x

I am trying to figure out how to change Android Studio's Emulator so that it can be reached from a different IP from the host machine. Currently I can access it at localhost:5554. I am trying to start ...
tim039's user avatar
  • 11
1 vote
0 answers
113 views

Recently deleted my AVD and did not get back the 8 GB it took up?

I haven't used Android Studio in a few months so I went ahead and deleted my AVD and system image from the tools menu inside Android Studio. The image deleted fine, however I notice that while the AVD ...
Dave's user avatar
  • 11
1 vote
0 answers
521 views

How to set emulator sensor values programmatically?

I'm looking for a way to set the x, y, and z values for the accelerometer sensor on an android emulator for tests using espresso. My test requires that the device be positioned in a specific way and I ...
Jose Jaime's user avatar
1 vote
0 answers
72 views

Changing Wear OS AVD build properties

I'm trying to get hold of one specific app: LV Watch Faces 2. I cannot find this anywhere. It's possible to extract it from an LV Wear OS watch, but I don't have them. I got an idea, maybe it's ...
Artem Nvm's user avatar
1 vote
0 answers
243 views

Android screen mirror to android with usb c to c cable

Can I mirror a note 10 screen to a Moto Z4 with a projection mod to project the Note 10 to my wall? The purpose is to play more powerful emulator games on the Note and use the Moto w/ projection mod ...
Zareh Dermenjian's user avatar
1 vote
0 answers
2k views

Emulator: emulator: ERROR: Not enough space to create userdata partition (Ubuntu 20.04)

I've been getting the error: emulator: ERROR: Not enough space to create userdata partition. Available: 6910.351562 MB at /home/codedoor/.android/avd/Pixel_4_API_29.avd, need 7372.800000 MB I'm ...
Samantha's user avatar
1 vote
0 answers
815 views

Android 5.1 Emulated abd push give adb: error: failed to copy etc... remote Read-only file system

Hi I'm not trying to change the system just upload some file to the /storage/sdcard folder or /sdcard i do adb push etc /storage/sdcard and I get adb: error: failed to copy 'etc' to '/storage/sdcard/...
denn0n's user avatar
  • 161
1 vote
0 answers
294 views

Bind command on ADB to Android Emulator problem

im sorry.. im new here.. i don't know where to start. i want to run some command in emulator (android). im running certain apps, and i need it to run and not to be detectable in emulator instead as ...
HazeRiff Technician's user avatar
1 vote
0 answers
191 views

High ping in emulator

I want to play mlbb on pc android emulator since it does not run on android x86. I have 70~90 ping on my network. But i am getting more than 150 in emulator. I tried switching netork mode and used ...
Riyadh Kabir's user avatar
1 vote
0 answers
2k views

Rooted Android Emulator

I want to install avd with google play and work with it as a root, is it possible? if not there any chance to install google play on rooted android emulator , because I have an app the I can't ...
Elior's user avatar
  • 11