- On the client:
- The device and the devcontainer must be connected to the same network.
- Connect the device to the computer via USB.
adb devices
adb -s {device name} tcpip 5555
adb connect {device IP}:5555
adb devices
- Disconnect the device from the computer.
- On the Devcontainer:
adb connect {device IP}:5555
adb devices
flutter run
flutter run -d web-server --web-port=3000
- Open the browser and go to
http://localhost:3000
- Change
FLUTTER_SDK_VERSION
inDockerfile
to your desired Flutter version