Open fortuna opened 7 months ago
We currently do not support building for Android from an ARM host. I don't know if it is still the case, but when we looked at it a year ago or so, there was no way to run Android NDK on an ARM host.
I think to address your bug report, we should:
I'm sure this was working for me this week. Can you try the latest fyne-cross changes?
I think building from Linux arm is still not supported.
It would be interesting if you can investigate your setup and see how docker can run any AMD64 image on ARM64 as that what we currently provide for Android.
That being said, Google is now releasing an Android NDK compatible with ARM64. I have created an issue for this here: https://github.com/fyne-io/fyne-cross-images/issues/42 .
Oh I'm sorry I missed that this was a fyne-cross bug.
Using the builtin Fyne tools with Android SDK is what works, fyne-cross does not, sorry for the confusion.
Describe the bug:
I can't build an Android app on a macOS with ARM architecture using fyne-cross. I get a
image platform (linux/amd64) does not match the expected platform (linux/arm64)
.Perhaps fyne-cross is not passing the right --arch flag to podman, but there doesn't seem to be a way to inject that.
To Reproduce:
After setting up podman:
This is my system info: