-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Update Dockerfile for ARM #2653
Comments
Can this arm based image build a p4a distribution and apk on osx ? As p4a depends on the google sdk/ndk, and i don’t know if they have working arm versions. |
@tshirtman The x86 Docker image can build a p4a distribution and an apk using macOS on Apple Silicon, but a modified Docker image for ARM cannot (even though a modified Docker image for ARM can build). It looks like Android's SDKs and NDK ≥ 24 (android/ndk#1299 (comment)) support Apple Silicon. |
Apparently, the Android NDK is not supported on an ARM Linux Host (in my case, that'd be in the Docker container). I filed an issue on the NDK repo to see if they can add support for that: android/ndk#1752 |
Hi @rbebb ! Yeah, unfortunately, Google doesn't provide an ARM Linux compatible NDK, and it looks like that is not going to happen anytime soon. (For this reason, I guess we can only mark this issue as "Not planned", but not due to our fault. BTW, I've submitted a PR (and waiting for the CI to complete before the merge) that forces docker to build (and run) a See: #2660 |
Checklist
p4a.branch = develop
)Versions
Description
Docker builds an x86 image instead of an ARM image. The Dockerfile just needs to be updated to remove references to i386 (x86). I found this out after using the P4A image as the base for another image on an M1 machine running macOS Monterey.
buildozer.spec
N/A
Logs
The following occurs after running a Docker image with the P4A image as the base image:
The text was updated successfully, but these errors were encountered: