Skip to content

'ALooper_pollAll' deprecated and gives error in NDK 27 #6

@zettelmuseum

Description

@zettelmuseum

It compiles when using NDK 26 but gives error on NDK 27.

 error: 'ALooper_pollAll' is unavailable: obsoleted in Android 1 - ALooper_pollAll may ignore wakes. Use ALooper_pollOnce instead. 

Found a fix in another unrelated github repository which may be helpful:

raysan5/raylib@14ebb2a

Some more remarks:

Will there be an update on playstore? Otherwise it would be nice to add apk files for latest android here, since not everyone can compile it themselves. Or maybe even add to f-droid.org?

The compiled apk and installed app size is much larger than latest playstore release.
I manually unpacked the apk, stripped the libs and resigned the apk.
llvm-objcopy --strip-unneeded libmain.so

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions