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

Something went wrong fetching you android emulators #39

Open
Linbeau22 opened this issue Jun 8, 2021 · 7 comments · May be fixed by #48
Open

Something went wrong fetching you android emulators #39

Linbeau22 opened this issue Jun 8, 2021 · 7 comments · May be fixed by #48

Comments

@Linbeau22
Copy link

Linbeau22 commented Jun 8, 2021

I read the other thread that's similar to this issue but mine is a little different. This is the error I'm getting:
image

And here is my emulator path:

image

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!

@DiemasMichiels
Copy link
Owner

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.

@HakoniCodes
Copy link

@Linbeau22 Guess this never got resolved?

@multimokia multimokia linked a pull request Sep 21, 2022 that will close this issue
@NardT
Copy link

NardT commented Oct 5, 2022

I resolved this just install android studio and they will create sdk path for emulator same on your path

@EnockAkiba
Copy link

salut!!!
j'ai le même problème et pourtant j'ai Android studio installe

@luccidx
Copy link

luccidx commented Apr 26, 2024

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 :

  1. Install and open Android studio ->click on Open -> Open your kotlin /flutter project.

  2. Click on tools -> Device Manager
    image

  3. Click on '+' icon "Create new Virtual Device"
    image

  4. Select any of the Android Device which you want to use as an emulator device and click on Next
    image

  5. In next dialog box select the recommended Android version and click on Next
    image

  6. Don't change any settings and leave it default and click on Finish
    image

  7. The new Emulator Device is added and installed
    image

image

  1. Now Open VS code -> File -> Preference -> Setting
    image

  2. 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

image

  1. Now add this same path to systems environment variables PATh by going to windows setting and search environment variables
    image

image

  1. Now go back to VS code and click on CTRL + SHIFT + P and type Emulator
    image

  2. Now click on "View Android Emulators"
    image

  3. Now the newly installed virtual device shall appear here, select it -
    image

  4. The new virtual device shall open via emulator.
    image

Now Happy building Apps 😀

@Rain6435
Copy link

Rain6435 commented May 7, 2024

@luccidx big man, ty so much for this detailed procedure. Ur the GOAT

@BrianKvin
Copy link

This worked for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants