build error for arm64 when selected change app icon #47
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I changed the code in generator-linux.yml when build with arm64:
but there is a error when I changed the app icon,if i set icon image in web,the Action build failed. if i don't change ico,the Action build succeed. like this:

(failed if I chang icon in web)
i think this is a bug in arm64 compile,the problem maybe at here:
Can you take a time for fix it?
You are right about where the error is. It looks like flutter is installed differently for arm64. Try changing these 3 lines:
to this:
I'm not sure if that will work, so send me the error if it doesn't work.
The cause of the problem has been identified, which is due to the path issue of the embedded version of Flutter. The bin path of the embedded Flutter has not been added to the PATH environment variable, resulting in the inability to locate flutter.
The log file has already indicated a path issue, but I overlooked it at the time.
add:
export PATH="/opt/flutter-elinux/flutter/bin:$PATH"
pushd ./flutter
flutter pub get
dart run flutter_launcher_icons
that‘s ok for arm64 compile.
Thanks!