0

I follow this guide How can I change the path to android\avd in my Android Studio I manage to change the path of the emulator directory, and everything was fine for a moment, was able to run my code and all of that jazz.

Restart android studio, was able to turn on the emulator but android studio doesn't detect it when I pressed run.

enter image description here

Deleting the emulator and installing a fresh one works, until I restarted android studio.

Flutter devices and Flutter doctor doesn't detect it alsoenter image description here

Edit: I forgot to mention that I noticed the app create another .android folder in its original C:\User\Username\ location where abdkey and abdkey.pub is stored.

I have followed this link as well Android studio - flutter: No Connected Devices still didn't work.

IcyHerrscher
  • 391
  • 3
  • 9
  • what will happen when you run command "adb devices"? – Sajad Abdollahi Jun 18 '21 at 20:12
  • It only shows "List of devices attached" and nothing else. – IcyHerrscher Jun 19 '21 at 01:25
  • https://stackoverflow.com/questions/62991298/android-studio-flutter-no-connected-devices – Sajad Abdollahi Jun 19 '21 at 04:34
  • Does this answer your question? [Android studio - flutter: No Connected Devices](https://stackoverflow.com/questions/62991298/android-studio-flutter-no-connected-devices) – Sajad Abdollahi Jun 19 '21 at 04:36
  • No, it does not. I have added the ANDROID_HOME and ANDROID_AVD_HOME path to make sure I didn't miss anything. I have already added the flutter/bin to both my user and system variable since the start anyway. Sad to say it didn't work. – IcyHerrscher Jun 19 '21 at 07:45
  • So, I follow this https://stackoverflow.com/a/61492762/13192893 again. Except this time, I reset all of my paths and only added the ANDROID_AVD_HOME. It works, except flutter devices still doesn't detect it. However, I can run my code now which is something. – IcyHerrscher Jun 19 '21 at 07:50

0 Answers0