-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Android build fails with NDK r23 #4276
Comments
For the time being I will use the older |
Can to send a PR to fix it? |
Sadly I can't I don't know what is needed to fix this atm. |
I updated zeromq build scripts for Android so they work with NDK r22b, haven't tried r23 yet. There is some breaking changes noted in the changelog of NDK r23:
@bluca @sappo What's zeromq's policy on breaking changes? For context, API 16 is Android 4.1, which I don't think anybody support anymore. Even apps that really need extended support like for example by targeting mostly 3rd world countries go down only to API 19 (Android 4.4). |
the ndk version can be overridden in the scripts, so it shouldn't be an issue |
I also got another question, which is kind of related. |
i'm trying to build it for android in kivy/buildozer, that uses python4android, i have the same problem, libzmq produces lots of error with ndk r23, but ndk 19c works just fine |
The bindings for Czmq, Zyre & other projects based on Zproject already build using Cmake, but the lib itself build with Make. I think it would take considerable efforts to port the build scripts from using Make to CMake for someone who isn't used to the NDK, CMake or Zeromq build scripts for Android. @sappo Is this something that is worth to look at? As it could bring more consistency to the Android build scripts. |
Issue description
Using the latest Android NDK (r23) the build fails due to the removed folder
platforms
inside the NDK, which the build script is trying to access.Environment
Minimal test code / Steps to reproduce the issue
What's the actual result? (include assertion message & call stack if applicable)
What's the expected result?
The build should not fail, thus the build script needs to be adjusted for new releases of the Android NDK.
The text was updated successfully, but these errors were encountered: