Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails using snapd flutter installation #29

Open
JayPi4c opened this issue May 3, 2023 · 1 comment
Open

Build fails using snapd flutter installation #29

JayPi4c opened this issue May 3, 2023 · 1 comment

Comments

@JayPi4c
Copy link

JayPi4c commented May 3, 2023

When trying to compile the project using flutter build apk --split-per-abi the build fails with the following output:
build_err.log
flutter doctor returns:
flutter_doctor.txt

Using the manual installation the build works just fine. It seems to be a problem with the snap version of flutter and not with this project. But still it would be interesting to know, if someone here knows any specifics.

By the way, the bug was first seen in the new mobile version of the lichess app (lichess-org/mobile#123)

@daohoangson
Copy link
Collaborator

Probably some old dependency in the build toolchain? I remember reading somewhere old clang may cause the cast from pointer to smaller type 'uintptr_t' (aka 'unsigned int') loses information error. It's possible that the snap version use a different clang version from the manual one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants