Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offline device #2

Open
gigouni opened this issue Jul 19, 2017 · 0 comments
Open

Offline device #2

gigouni opened this issue Jul 19, 2017 · 0 comments

Comments

@gigouni
Copy link

gigouni commented Jul 19, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant