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

Android emulator could not work #796

Closed
c0ffeec0der opened this issue Jul 28, 2022 · 5 comments
Closed

Android emulator could not work #796

c0ffeec0der opened this issue Jul 28, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@c0ffeec0der
Copy link

Environment

Windows build number: Microsoft Windows NT 10.0.22000.0
Your Distribution version: Ubuntu 20.04
Your WSLg version: 1.0.40 (Note does not show in Apps but from wsl --version)

Steps to reproduce

run android emulator (i.e emulator -avd [avd name])

Expected behavior

Emulator to run in x11 window

Actual behavior

not running with error:

The Android emulator exited with code -11 during startup
Android emulator stderr:
WARNING | unexpected system image feature string, emulator might not function correctly, please try updating the
emulator.
WARNING | cannot add library /home/felix/sdk/android/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so: failed
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
Address these issues and try again.
pulseaudio.log
versions.txt
weston.log
WslLogs-2022-07-28_20-23-33.zip

@c0ffeec0der c0ffeec0der added the bug Something isn't working label Jul 28, 2022
@c0ffeec0der
Copy link
Author

Question, is there a way to revert to old version? It works with

WSL version: 0.58.3.0
Kernel version: 5.10.102.1
WSLg version: 1.0.33
MSRDC version: 1.2.2924
Direct3D version: 1.601.0
Windows version: 10.0.22000.675

@hideyukn88
Copy link
Member

@c0ffeec0der, thanks for reporting the issue. Android emulator is the one of applications we used for WSLg verification, and I confirmed that it is working on the same build version as yours. You can install order WSLg version from https://github.com/microsoft/WSL/releases, in your case, https://github.com/microsoft/WSL/releases/tag/0.58.3, and download the .msixbundle, and double click the file will start the installation. You might want to uninstall previous version first. Please let us know if it works on older WSLg version, thanks!

@c0ffeec0der
Copy link
Author

@hideyukn88 Thank you so much! I just installed WSL version: 0.58.3.0 and its working !!

Just for my curiosity, could you try to retest running android emulator with WSLg version 1.0.40 on WSL 0.64.0? I am worried if future updates of WSL will continuously break running android emulator. Many Thanks

@hideyukn88
Copy link
Member

@c0ffeec0der, I did with below version, which is next release candidate, thanks!

C:\Windows\System32>wsl --version
WSL version: 0.64.2.0
Kernel version: 5.10.102.1
WSLg version: 1.0.40
MSRDC version: 1.2.3213
Direct3D version: 1.601.0
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.25171.1000

image

@c0ffeec0der
Copy link
Author

Thanks @hideyukn88 , I will try when WSL : 0.64.2.0 is GA. Many Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants