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

Can not boot simulator on Linux: "adb: device offline" #89

Closed
sisoje opened this issue Sep 18, 2020 · 5 comments
Closed

Can not boot simulator on Linux: "adb: device offline" #89

sisoje opened this issue Sep 18, 2020 · 5 comments

Comments

@sisoje
Copy link

sisoje commented Sep 18, 2020

I know I should run on MacOs but for private repos its x10 times more expensive than Linux.

I need Linux, but I see some errors, this is the part of it:

Your emulator is out of date, please update by launching Android Studio:
 - Start Android Studio
 - Select menu "Tools > Android > SDK Manager"
 - Click "SDK Tools" tab
 - Check "Android Emulator" checkbox
 - Click "OK"

adb shell getprop sys.boot_completed
* daemon not running; starting now at tcp:5037
* daemon started successfully
adb: device offline
The process 'adb' failed with exit code 1
@sisoje sisoje changed the title Can not boot simulator on Linux Can not boot simulator on Linux: "adb: device offline" Sep 18, 2020
@ychescale9
Copy link
Member

I've only been able to consistently start emulator on Linux VMs on lower API levels e.g. API 16.

We're hoping to get windows support next year or whenever hardware acceleration is supported properly.

The emulator team is also working on light-weight system images which should improve speed and memory consumption significantly. And If a future version of the emulator no longer required hardware acceleration, running the action on Linux will not be an issue at all.

Closing as there's nothing we can do right now.

@sisoje
Copy link
Author

sisoje commented Sep 18, 2020

thanks, did you try some new emulator versions on linux?

@ychescale9
Copy link
Member

The action downloads the latest version of the emulator binary and system images from the stable channel so its always the latest. Requiring vs not requiring Hardware acceleration is a significant difference which many of us are tracking. I'd explore anything new worth trying which can improve this situation as we're all aware of the 10x multiplier with the macos VM 😀

@sisoje
Copy link
Author

sisoje commented Sep 18, 2020

is windows capable of HW acc?

@ychescale9
Copy link
Member

Not at the moment

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

2 participants