Env:
Tip of workspace-automation v2.0.
Ubuntu 22.04 in a VM.
Example run:
./flutter_workspace.py --remote https://gerrit.automotivelinux.org/gerrit/AGL/workspace-config-agl --enable agl-ivi-demo-flutter-qemu-unagi
source setup_env.sh
run-agl-ivi-demo-flutter-qemu-unagi
cd flutter/examples/image_list/
flutter run -d agl-qemu-unagi
[
or for pi5
./flutter_workspace.py --remote https://gerrit.automotivelinux.org/gerrit/AGL/workspace-config-agl --enable agl-ivi-demo-flutter-pi5-unagi
source setup_env.sh
note attach pi hardware to network, add ip to /etc/hosts as raspberrypi5.local until mdns would work out-of-box
flutter doctor -v
check pi5 is available
flutter run -d agl-pi5-unagi
]
Symptom:
It does start up in qemu and on pi5.
But there is below debug connection missing and no breakpoints work e.g. in VScode when launched.
If you do see the Flutter application running on the device, try re-running with --host-vmservice-port to use a specific port
known to be available.
[05:22:49.287718] [I] Accessibility tree dumped to /home/agl-driver/.flutter-auto/accessibility/semantic_tree_init.json
Exception attempting to connect to the VM Service: SocketException: Connection refused (OS Error: Connection refused, errno =
111), address = 127.0.0.1, port = 53470
This was attempt #50. Will retry in 0:00:01.600000.
We might miss a few port forwards maybe ?
I researched some sites:
Env:
Tip of workspace-automation v2.0.
Ubuntu 22.04 in a VM.
Example run:
./flutter_workspace.py --remote https://gerrit.automotivelinux.org/gerrit/AGL/workspace-config-agl --enable agl-ivi-demo-flutter-qemu-unagi
source setup_env.sh
run-agl-ivi-demo-flutter-qemu-unagi
cd flutter/examples/image_list/
flutter run -d agl-qemu-unagi
[
or for pi5
./flutter_workspace.py --remote https://gerrit.automotivelinux.org/gerrit/AGL/workspace-config-agl --enable agl-ivi-demo-flutter-pi5-unagi
source setup_env.sh
note attach pi hardware to network, add ip to /etc/hosts as raspberrypi5.local until mdns would work out-of-box
flutter doctor -v
check pi5 is available
flutter run -d agl-pi5-unagi
]
Symptom:
It does start up in qemu and on pi5.
But there is below debug connection missing and no breakpoints work e.g. in VScode when launched.
If you do see the Flutter application running on the device, try re-running with --host-vmservice-port to use a specific port
known to be available.
[05:22:49.287718] [I] Accessibility tree dumped to /home/agl-driver/.flutter-auto/accessibility/semantic_tree_init.json
Exception attempting to connect to the VM Service: SocketException: Connection refused (OS Error: Connection refused, errno =
111), address = 127.0.0.1, port = 53470
This was attempt #50. Will retry in 0:00:01.600000.
We might miss a few port forwards maybe ?
I researched some sites: