How to run emulator64-arm in a Docker container?

42
February 12, 2019, at 03:00 AM

I tried to run emulator64-arm in a Docker container but it reported:

$ emulator64-arm -avd t2 -no-window -no-accel -gpu off
qemu: could not open disk image /home/testuser/.android/avd/t2.avd/sdcard.img: Interrupted system cal

I think qemu-aarch64 should be a pure software emulator without any fancy things involved but I was wrong. I also tried to start the container with --privileged but still no luck.

In my case we need to run some smoke tests for our Android APK, speed doesn't really matter but Android-X86 is not an option.

READ ALSO
How to fix “Package not in whitelist” when binding a Service?

How to fix “Package not in whitelist” when binding a Service?

I have created two different Android applicationsOne contains a Service and the other one the Activity which binds the Service

10
React Native expo push notification with firebase not working?

React Native expo push notification with firebase not working?

I am using expo with firebase as a database and I want push notification I have tried the following thing but did not get successful to push notification for both Android and IOS

16
Hello please I'm trying to create an android chatbot for autoresponse to users input

Hello please I'm trying to create an android chatbot for autoresponse to users input

![It is pretty much static right nowas I could only achieve click an display instead of type an autoresponse] It is pretty much static right now

12
How to randomize a RadioButton?

How to randomize a RadioButton?

I'm trying to make a multiple choice quizI have a problem when I want to get a multiple choice button randomly

27