Prepare your workspace
Check your project, packages, Flutter and network before you start.
Run doctor inside your project folder before the first start. It checks the network address, the project, Flutter, the runner SDK, the package versions, the native packages and the keys in your project.
$ zapbird doctorEach line says what is wrong and how to fix it. The exit code is 0 when everything is ready and 1 when something must be fixed.
#Match your packages to the runner
The runner contains a fixed set of packages at fixed versions. If your project uses different versions, doctor lists them. Let it set them for you:
$ zapbird doctor --fixThis changes the versions in pubspec.yaml and runs flutter pub get. It prints every change.
#See every version
$ zapbird versions$ zapbird versions --packages
This shows the zapbird version, your Flutter and Dart, each installed SDK and which of your packages differ from the runner.
#Choose the network
Zapbird finds a local address by itself. If your computer has more than one network, pass the one your phone can reach.
$ zapbird start --host 192.168.1.24