appimage-builder icon indicating copy to clipboard operation
appimage-builder copied to clipboard

Flutter AppImage /bin/sh: 1: /home/$USER/newapp/AppDir/bin/bash: not found

Open SubBase opened this issue 2 years ago • 1 comments

I've got a Problem with using my AppImage. I get the error: /bin/sh: 1: /home/$USER/newapp/AppDir/bin/bash: not found $ echo ShellException(bash data/flutter_assets/configs/start.sh, exitCode 127, workingDirectory:

I put the bin/bash in every possible directory it can search for it. But every Button on my Flutter App is giving me the same error

The Other Problem I have is that if I create an AppImage the ButtonConfig.json get lost and there is only an error that the config file is missing. But if anyone has a solution for the /bin/bash issue, that would help me a lot.

SubBase avatar Jan 18 '23 15:01 SubBase

which architecture are you running on? There was an issue with aarch64 but https://github.com/AppImageCrafters/appimage-builder/pull/283 fixed that. I have the same issue with armhf and proposed https://github.com/AppImageCrafters/appimage-builder/pull/289 to fix it. Seems like amd64 works fine out of the box.

goldstar611 avatar Jan 29 '23 16:01 goldstar611