Skip to content

Conversation

tomas-mraz
Copy link
Contributor

The new NDK does not want to compile because of the usage of ALooper_pollAll.
The recommended action is to replace with ALooper_pollOnce.

@xlab
Copy link
Owner

xlab commented Jul 5, 2025

Thanks! I am also glad this is still useful for some :)

@xlab
Copy link
Owner

xlab commented Jul 5, 2025

However that android.go file was autogenerated. Shouldn't be changed by hand, the original NDK has to be updated instead and re-generate the bindings.

Latest LTS for NDK is r27c or 27.2.12479018 (https://developer.android.com/ndk/downloads)

Similar issue ocornut/imgui#8013

I agree that bumping NDK is a bit more overhead than changing a single func call, but it seems like a correct path to move forward with bindings maintenance, since there might be other deprecations.

I'll keep PR open for now. Anyone can find it just in case.

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