android-avd icon indicating copy to clipboard operation
android-avd copied to clipboard

Offline device

Open gigouni opened this issue 7 years ago • 0 comments

Hi,

while trying your image

docker run -it --device /dev/kvm -p 5554:5554 -p 5555:5555 thedrhax/android-avd

I used the docker exec command to get the UUID of the device but ADB wasn't found. I need to run the command

$ANDROID_HOME/tools/bin/sdkmanager --update

To get it in $ANDROID_HOME/platform-tools/. I've ran

adb devices

And it seems that while the logs are giving

2017-07-19 08:19:52,868 CRIT Supervisor running as root (no user in config file)
2017-07-19 08:19:52,868 INFO Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
2017-07-19 08:19:52,888 INFO RPC interface 'supervisor' initialized
2017-07-19 08:19:52,888 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2017-07-19 08:19:52,888 INFO supervisord started with pid 6
2017-07-19 08:19:53,890 INFO spawned: 'socat-5554' with pid 9
2017-07-19 08:19:53,891 INFO spawned: 'emulator' with pid 10
2017-07-19 08:19:53,892 INFO spawned: 'socat-5555' with pid 11
2017-07-19 08:19:54,893 INFO success: socat-5554 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-07-19 08:19:54,893 INFO success: emulator entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-07-19 08:19:54,893 INFO success: socat-5555 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

The device is offline.

root@422d3f515b74:/home/user# adb devices
List of devices attached
emulator-5554   offline

Any idea to solve it?

gigouni avatar Jul 19 '17 13:07 gigouni