Skip to content Skip to sidebar Skip to footer

Ndk Build Error: "fatal Error: Stdint.h: No Such File Or Directory" On Mac Os X

I use the following build command to build OpenH264 project. make OS=android ARCH=arm64 NDKROOT=~/Library/Android/android-ndk-r10d/ TARGET=android-12 But i got the following error

Solution 1:

You request target platform 12, which does not support arm64. The lowest TARGET for this architecture is android-21.

There is probably some glitch in the script, and we must set the platform twice in the build command:

make OS=android ARCH=arm64 TARGET=android-21 NDKLEVEL=21

Make sure that NDKROOT and PATH are set correctly.

Post a Comment for "Ndk Build Error: "fatal Error: Stdint.h: No Such File Or Directory" On Mac Os X"