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
android-studio: add new emulator dependencies #70857
Conversation
If anyone could help test this that would be much appreciated :) Unfortunately I don't have a test setup for the emulator atm (in the worst-case I can try to figure something out at the weekend) :o @alexbakker thank you very much for the PR. The changes LGTM, but as stated above I can unfortunately not test/verify them atm. And as noted in #70844 (comment) we might have to add |
|
Ah, my bad. I had not tried to use the toolbar. I'll take another crack at this tonight. |
My bad, toolbar crash seems to be unrelated to Qt warnings. Instead we need to add
After that emulator seems to work fine including toolbar actions and settings. There are still some warnings in console but I think they can be addressed later.
|
Nice! I'll update my PR with your patch tonight. If you want to beat me to it and submit a PR that supersedes this one, that's fine by me too. |
6a28d2d
to
06830ae
Compare
I've added dbus, libxcb and libudev to the list of dependencies and confirmed that the emulator toolbar can be used without crashing Android Studio. |
06830ae
to
4b0a16e
Compare
Thanks @alexbakker and @alapshin :) |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/android-studio-emulator-not-working/4316/2 |
Fix NixOS#70844. (cherry picked from commit a7e87bc) Reason: Should be required for newer emulator versions on 19.09 as well.
[19.09] android-studio: add new emulator dependencies (#70857)
Motivation for this change
Android emulator has gotten a few new dependencies. Without those present, it won't start.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @primeos