Thanks for the tutorial. I followed it but got stuck at the step of running the emulator from VSC. When I click on View Android emulators then I get 3 errors:
Something went wrong fetching your Android emulators! Make sure your path is correct. Try running this command in your terminal: "false\emulator" -list-avds
I ran the suggested command in CMD and got "The system cannot find the path specified."
Error: spawn C:\WINDOWS\system32\cmd.exe ENOENT
Make sure your Windows path is set correctly! Example: C:\Users\Me\AppData\Local\Android\Sdk\emulator
I found out what my problem was. I didn't switch my VS Code environment to WSL. I installed all the extensions in VSC on the Windows side. I later realized that I needed to connect VSC to WSL by pressing F1 -> WSL: Connect to WSL. And then I installed the mentioned extensions. After that things worked fine.
I'm so sorry that I never responded to this. I didn't see any notifications and I never thought to keep checking this article for comments because I didn't expect I'd get any 😅
I'm glad you solved the issue though. Happy coding!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for the tutorial. I followed it but got stuck at the step of running the emulator from VSC. When I click on View Android emulators then I get 3 errors:
I ran the suggested command in CMD and got "The system cannot find the path specified."
Error: spawn C:\WINDOWS\system32\cmd.exe ENOENT
Make sure your Windows path is set correctly! Example: C:\Users\Me\AppData\Local\Android\Sdk\emulator
Do you know how to resolve this?
I found out what my problem was. I didn't switch my VS Code environment to WSL. I installed all the extensions in VSC on the Windows side. I later realized that I needed to connect VSC to WSL by pressing F1 -> WSL: Connect to WSL. And then I installed the mentioned extensions. After that things worked fine.
I'm so sorry that I never responded to this. I didn't see any notifications and I never thought to keep checking this article for comments because I didn't expect I'd get any 😅
I'm glad you solved the issue though. Happy coding!