Compiling for android cant find libc or libc++ headers

When compiling armv7 for android it keeps throwing “*****.h not found” for libc and c++ headers.

libretro-test.c:1:19: fatal error: stdio.h: No such file or directory #include <stdio.h>

I am using the libretro-build-android-armeabi_v7a.sh make file.

libretro-build-android-mk.sh that uses the jni makefiles works but dosent build mgba.

Also I am trying to get lutro compiling for android.

Mgba won’t even compile using make in its directory. (because of this and it wants the old ndk with GCC 4.8)

Is libretro-build-android-armeabi_v7a.sh only for the buildbot?