How to run Android Studio Emulator via WSL2 #6625
Replies: 4 comments 2 replies
-
Many has achieved it here #6471 |
Beta Was this translation helpful? Give feedback.
-
Hi, any updates for this? |
Beta Was this translation helpful? Give feedback.
-
I'm also curious as I feel I've tried everything I can think of.. Basically my exact issue, so any updates would be awesome! |
Beta Was this translation helpful? Give feedback.
-
Man o man, this was something I raised over two years ago! In the end I was distracted by work stuff and never got round to doing that course that i needed the emulator for... so you could say that i just gave up. So, unfortunately, this is still an open issue. |
Beta Was this translation helpful? Give feedback.
-
Hi,
Does anyone know where I can find the step by step instructions to running Android Studio Emulator via WSL2?
What I did was:
0. I'm running Node version: 14.15.4 and expo-cli version: 4.2.1
export ANDROID_SDK=/mnt/c/Users/user/AppData/Local/Android/Sdk
export PATH=/mnt/c/Users/user/AppData/Local/Android/Sdk/platform-tools:$PATH
This gives me the error:
Couldn't start project on Android: No Android connected device found, and no emulators could be started automatically.
Please connect a device or create an emulator (https://docs.expo.io/workflow/android-studio-emulator).
The docs on expo cover how to setup on windows or ios or linux. But not on WSL2.
Note: running the emulator in the web browser does work
Your help and advice would be really appreciated.
Beta Was this translation helpful? Give feedback.
All reactions