Android Build using Github Workflows

Building for Android is a little complicated right now.

The reason your are seeing fatal error: ‘typeinfo’ file not found is because you combined hxpp 4.3.2 with NDK 25.2.9519653.

hxcpp 4.3.2 supports NDK r21e (21.4.7075529) and older versions only. Any NDKs newer than r21e will fail with the typeinfo error.

So, one way to fix the error is to use NDK r21e instead of NDK 25. You can keep using hxcpp 4.3.2 in that case.


The latest hxcpp code from GitHub supports newer NDKs, including NDK 25. Unfortunately, an update that includes the necessary fixes hasn’t been released to Haxelib yet. So if you want to use NDK 25.2.9519653, you currently must install hxcpp from GitHub.

For Lime’s GitHub Actions workflow, we install hxcpp from GitHub like this:

curl --output ../hxcpp-4.3.45.zip --location https://github.com/HaxeFoundation/hxcpp/releases/download/v4.3.45/hxcpp-4.3.45.zip
haxelib install ../hxcpp-4.3.45.zip --quiet

Using this newer build of hxcpp from GitHub should allow you to use NDK 25.2.9519653.