1. Android.mk LOCAL_C_INCLUDES

LOCAL_C_INCLUDES所指定的目录路径是Android源码目录下的直接路径.

LOCAL_C_INCLUDES := \
work/unite_player/plugins/decoder/AAC/aacpp/include \
work/unite_player/tmpc \


2.declared as function returning a function


3.undefined reference to
一是使用者自己定义的函数或者全局变量所在源代码文件,没有被编译、连接,或者干脆还没有定义,这需要使用者根据实际情况修改源程序,给出全局变量或者函数的定义体;


4conflicting types for '*****'

名字冲突

循环引用所致

更改头文件顺序


参数不匹配

void set_current_playspeed(tmpc_context *ptx, int num, int den)
void set_current_playspeed(void *ptx, int num, int den);


5expected declaration specifiers or ‘...’ before和expected specifier-qualifier-lis

头文件包含混乱

例如,某结构体在A.h中定义,B.h利用到这个结构体。

解决方法,把头文件位置调换一下。


6

work/unite_player/tmpc/tmpc.c: In function 'tmpc_get_audio_volume':
work/unite_player/tmpc/tmpc.c:580: error: control reaches end of non-void function
work/unite_player/tmpc/tmpc.c: In function 'tmpc_set_audio_volume':
work/unite_player/tmpc/tmpc.c:575: error: control reaches end of non-void function
work/unite_player/tmpc/tmpc.c: In function 'tmpc_rotate':
work/unite_player/tmpc/tmpc.c:570: error: control reaches end of non-void function
work/unite_player/tmpc/tmpc.c: In function 'tmpc_get_player_state':
work/unite_player/tmpc/tmpc.c:565: error: control reaches end of non-void function
work/unite_player/tmpc/tmpc.c: In function 'tmpc_change_av_flag':
work/unite_player/tmpc/tmpc.c:560: error: control reaches end of non-void function


更多相关文章

  1. 利用java实现android项目结构API文档
  2. Android(安卓)7.0 FileUriExposedException 的处理
  3. android中禁止GridView上下滑动的方法
  4. Android(安卓)Uri Intent 用法汇总
  5. Android自定义属性,attr format取值类型
  6. Android输入法之如何自定义每个key的属性
  7. Android(安卓)Intent的几个主要用法
  8. Android(安卓)NDK: jni/Android.mk: Cannot find module with ta
  9. android 报错 Proguard returned with error code 1 .

随机推荐

  1. andrid五大布局
  2. Android中级篇之区分系统程序和安装程序
  3. Android中几种关闭Activity或app的方法
  4. UE4打包Android OpenGLES3格式项目
  5. Android build编译过程及Android.mk与And
  6. Android获取手机及路由器的Mac地址和IP地
  7. Android触摸事件总结
  8. TextView高级使用:SpannableString
  9. Android内存分配回收机制
  10. quick-cocos2d-x如何在windows下编译安卓