Android NDK问题

Art*_*gin 1 android ffmpeg android-ndk

我尝试在我自己的android应用程序中添加和编译ffmpeg库.当我添加本机支持并在jni中添加ffmpeg库时,Eclipse会显示许多错误,例如:

uint8_t  *bufferConverted=NULL;
static GLuint textureConverted=0;
Run Code Online (Sandbox Code Playgroud)

错误:

Type 'uint8_t' could not be resolved
Symbol 'NULL' could not be resolved
Type 'GLuint' could not be resolved
Run Code Online (Sandbox Code Playgroud)

我该如何解决这个问题?

Art*_*gin 5

我解决了这个问题!!))在项目属性 - > C/C++一般 - >路径和符号 - >包括 并添加以下路径:

C:\android-ndk\platforms\android-5\arch-arm\usr\include
Run Code Online (Sandbox Code Playgroud)