Android 'arm-linux-androideabi-g++' is not recognized

Hello,

I try to compile an Android app
I have this message error :

Creating C:/Users/user/test/bin/android/obj/obj/android-v7/__pch/haxe/hxcpp.h.gch…
‘arm-linux-androideabi-g++’ is not recognized as an internal or external command, operable program or batch file
Error: Could not create PCH

my ndk path : C:\Users\user\AppData\Local\Android\Sdk\ndk\20.0.5594570

Thanks

You need an older NDK because they changed from gcc to clang and openfl hasn’t made the change yet as they depend on hxcpp in this case for this change…

Just use https://developer.android.com/ndk/downloads/older_releases

NDK 15c

Thanks, it work with NDK 15c.