flutter-elinux
flutter-elinux copied to clipboard
run and build error in orangepi 3B
trafficstars
devices: orangepi 3B os: ubuntu 22.04
After I install flutter-elinux and create a sample flutter project.
And Got error when run flutter-elinux build elinux --target-backend-type=x11 or flutter-elinux run -d elinux-x11
And my OS only support x11
env | grep -E "DISPLAY|SWAY|XDG_SESSION_TYPE"
XDG_SESSION_TYPE=x11 DISPLAY=:0.0
And flutter-elinux devices shows elinux-x11 device.
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Found 3 connected devices:
Linux (desktop) • linux • linux-arm64 • Orange Pi 1.0.4 Jammy 5.10.160-rockchip-rk356x
eLinux (desktop) • elinux-wayland • flutter-tester • Orange Pi 1.0.4 Jammy 5.10.160-rockchip-rk356x
eLinux (desktop) • elinux-x11 • flutter-tester • Orange Pi 1.0.4 Jammy 5.10.160-rockchip-rk356x
Run "flutter emulators" to list and start any available device emulators.
If you expected another device to be detected, please run "flutter doctor" to diagnose potential issues. You may also try increasing the time to wait for connected devices
with the "--device-timeout" flag. Visit https://flutter.dev/setup/ for troubleshooting tips.
You are lacking libstd++ for clang14 'sudo apt install libstdc++-12-dev`