emulator
emulator copied to clipboard
Something went wrong fetching you android emulators
I read the other thread that's similar to this issue but mine is a little different. This is the error I'm getting:
And here is my emulator path:
It looks like the e in emulator is being recognized as a special symbol and I'm not quite sure why I have the exact path shown above pasted in User, Remote[WSL:Ubuntu], and in Workspace. I've tried different combinations of paths but I can't seem to fix this issue. Can someone please help resolve this issue? Thanks!
Hey, thanks for your issue. I looked into your issue today but haven't been able to solve it yet. (It is an issue on our side)
The problem is that the extention thinks you are on a linux pc and not on a windows, therefore it wants to execute the command differently.
The linux path should be something like /mnt/c/Users/Beau/AppData/Local/Android/Sdk/emulator
but it doesn't seem like the extention has access to it.
I'm going to do some more research on it when I have more time but currently I cannot make any promisses on a fix for this.
@Linbeau22 Guess this never got resolved?
I resolved this just install android studio and they will create sdk path for emulator same on your path
salut!!! j'ai le même problème et pourtant j'ai Android studio installe
The main reason why you are not invoking any emulator is because, you haven't created any virtual device in Android studio. Thus no emulator shall be present to invole from the path.
Simple way to set this up is :
-
Install and open Android studio ->click on Open -> Open your kotlin /flutter project.
-
Click on tools -> Device Manager
-
Click on '+' icon "Create new Virtual Device"
-
Select any of the Android Device which you want to use as an emulator device and click on Next
-
In next dialog box select the recommended Android version and click on Next
-
Don't change any settings and leave it default and click on Finish
-
The new Emulator Device is added and installed
-
Now Open VS code -> File -> Preference -> Setting
-
Click on Extension -> Emulator Configuration and paste the following path "C:\Users{PROFILE}\AppData\Local\Android\Sdk\emulator" in both Emulator path and Emulator Path windows
- Now add this same path to systems environment variables PATh by going to windows setting and search environment variables
-
Now go back to VS code and click on CTRL + SHIFT + P and type Emulator
-
Now click on "View Android Emulators"
-
Now the newly installed virtual device shall appear here, select it -
-
The new virtual device shall open via emulator.
Now Happy building Apps 😀
@luccidx big man, ty so much for this detailed procedure. Ur the GOAT
This worked for me!