simcode icon indicating copy to clipboard operation
simcode copied to clipboard

Android devices not listed on Windows

Open bartvanandel opened this issue 1 year ago • 0 comments

Just installed SimCode, made sure I do have a configured device in Android Studio, and have set ANDROID_HOME both globally (environment variable) and inside SimCode's settings in VS Code, but it won't list my devices.

Error in popup when I hit the "refresh" button:

spawnSync C:\Users\me\AppData\Local\Android\Sdk\platform-tools\adb.exe\emulator\emulator ENOENT

Looks like the path is not composed properly, and therefore doesn't exist. The following paths do exist however:

  • C:\Users\me\AppData\Local\Android\Sdk\platform-tools\adb.exe
  • C:\Users\me\AppData\Local\Android\Sdk\emulator\emulator.exe

Also, the actual devices are saved as .ini files in this path, if that helps:

  • C:\Users\me\.android\avd\*.ini

bartvanandel avatar Nov 14 '23 14:11 bartvanandel