--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/e5565911-6f99-4b62-aba2-a07d812cd6e4%40googlegroups.com.
not sure what you did to create that scenario.... you have two emulators started at the same time? or many you have one emulator AND your phone connected at the same time?anyways.... just make sure you only have one target started/connected .... an emulator... your phone...and to manage virtual devices or emulators... just use android studio... nice GUI for that.... no need to mess with command line or poweshell....
On Wed, Oct 2, 2019 at 12:26 PM Simon Rasmussen <simon.r...@gmail.com> wrote:
It seems Android Studio has a menu option. But I'd like to show devices and delete the ones I need to delete, within powershell in. Is this possible?--
On Wednesday, October 2, 2019 at 5:04:44 PM UTC+2, Simon Rasmussen wrote:When I installed Flutter I couldn't get anything running on the default emulator. I create 2 new ones.
Now when I open VS Code and choose one of my new emulator and run my file I get: "More than one device connected".
Can I delete the default emulator?
If I run with 'flutter run -d deviceID' it will often crash completely and PC is unreachable for a few minutes.
Appreciate any help
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutt...@googlegroups.com.
When I installed Flutter I couldn't get anything running on the default emulator. I create 2 new ones.
Now when I open VS Code and choose one of my new emulator and run my file I get: "More than one device connected".
Thanks for you input Danny. In the meantime I have deleted some emulators through Taksan's advice to use Android Studio.
From the beginning android studio and VS Code have had my phone as default device. I don't know if it just automatically scans for android phones on the network or how this was setup.
The problem came when I chose a virtual device, because then both devices where enabled. But I could then choose which device to run on.
Now it seems to be working fine. I would like to find some other solution though, as running the emulator is surprisingly taxing on CPU(!)
I have been running in VS Code and I always use 'flutter run' and then hot reload with 'r'.
Since my computer is almost crashing several times a day due to the emulator, I guess running on the phone would be the best option. If I could make the emulator run on less CPU that would be even better though.
VS Code cannot detect my phone (connected with USB). I am not sure if adb is set up on my system, but I'm trying to read up on it.
Appreciate your effort a lot ! In general with flutter so far many of these minor obstacles have taken me hours and hours to fixed. Much more troublesome than Python which I have some experience in.
I have just installed adb in VS Code and restartet VS Code. However when I run 'flutter adb devices' or 'adb devices' I get " adb : The term 'adb' is not recognized as the name of a cmdlet (...)".