07-21-2023, 03:17 PM
I encountered the same problem as you did. It turns out that your device is not connected with your computer.
Note:
- If you are using [Xcode][1], if both your computer and the device are using the same **Wi-Fi** [AP][2], you don't have to connect the device with the computer.
- For Android, or iOS running under terminal command, if you are using command line to run this, you have to make sure they are connected via **cables**. Sharing the same Wi-Fi AP does not work. **Make sure your device is really connected.**
- Make sure you **allowed USB Debugging** on your Android device.
If this still does not work, try to fire the below command, where you can get richer information and details:
flutter run --verbose
[1]:
Note:
- If you are using [Xcode][1], if both your computer and the device are using the same **Wi-Fi** [AP][2], you don't have to connect the device with the computer.
- For Android, or iOS running under terminal command, if you are using command line to run this, you have to make sure they are connected via **cables**. Sharing the same Wi-Fi AP does not work. **Make sure your device is really connected.**
- Make sure you **allowed USB Debugging** on your Android device.
If this still does not work, try to fire the below command, where you can get richer information and details:
flutter run --verbose
[1]:
[To see links please register here]
[2]:[To see links please register here]