Open rsanjuan87 opened 1 month ago
I updated termux to latest by apt update & apt upgrade
and installed xfce4
then run flutter doctor
, it works, and flutter run
as well. So I'm not sure what went wrong, sorry.
this is the error what I was getting when I try to build
/data/data/com.termux/files/usr/bin/flutter: bad interpreter: /usr/bin/env: no such file or directory
i3 wm
Error:
/data/data/com.termux/files/usr/bin/flutter: bad interpreter: /usr/bin/env: no such file or directory
after install the package everithing works fine on "termux app terminal" (apk), even build and launch with xquartz x11 server, not well but runs.
but on termux-x11 + a xfce4-terminal says /data/data/com.termux/files/usr/bin/flutter: bad interpreter: /usr/bin/env: no such file or directory
I tried to run something alike termux-exec to avoid to "do" fixes to sdk, not nothing works for me
finally my fix
termux-fix-shebang /data/data/com.termux/files/usr/opt/flutter/bin/flutter
flutter run -d linux