Compiling Erlang for Android 16KB

Hello michi,

I’m quite late to answer your question but it may still be useful for other people looking to support recent Android requirements.

I’ve updated my project providing pre-built releases of Erlang/OTP, using version 28.3.1, and it seems compatible with the recent 16KB page size support. Here is the link to the project:

The build instructions are described, I didn’t have to pass or edit specific compiler flags, I’ve simply used a quite recent version of the Android NDK toolchain, r29 in this case.

I’ve tested and updated this sample project integrating Erlang/OTP within an Android application:

and it is working fine with the 16KB variant of the Android emulator images.

Let me know if you have any questions!

Cheers,
Jérôme