Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 711 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 711 Bytes

Flutter Devcontainer

How to connect an Android device

  1. On the client:
    1. The device and the devcontainer must be connected to the same network.
    2. Connect the device to the computer via USB.
    3. adb devices
    4. adb -s {device name} tcpip 5555
    5. adb connect {device IP}:5555
    6. adb devices
    7. Disconnect the device from the computer.
  2. On the Devcontainer:
    1. adb connect {device IP}:5555
    2. adb devices
    3. flutter run

Web development

  1. flutter run -d web-server --web-port=3000
  2. Open the browser and go to http://localhost:3000

Flutter version change

  1. Change FLUTTER_SDK_VERSION in Dockerfile to your desired Flutter version