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

Android-build, set NDK_API_VERSION using version from ANDROID_NDK_HOME #1405

Closed
wants to merge 1 commit into from

Conversation

jdelromano
Copy link

I got stuck in generating the libraries because of a NDK version mismatch. I made this change and it worked.

With this change, the value of NDK_API_VERSION is taken from the file "${ANDROID_NDK_HOME}/source.properties".
NDK_PLATFORM will then be set accordingly.

Instead of forcing NDK_API_VERSION by hand to 19, use the ndk version reading the info directly from the file "${ANDROID_NDK_HOME}/source.properties"

NDK_PLATFORM will then be set accordingly
@jedisct1
Copy link
Owner

jedisct1 commented Sep 9, 2024

Hi,

I'd like to avoid breaking changes and fragile parsing if possible.

Why not just set NDK_PLATFORM to the desired target?

Guidance can be printed if it is not found given the installed NDK.

@jedisct1 jedisct1 closed this Sep 25, 2024
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

Successfully merging this pull request may close these issues.

2 participants