Android:Symbol 'ANDROID_LOG_DEBUG' could not be resolved
2014-09-28 10:04
489 查看
调试JNI代码的时候,加入了调试函数
#include<android/log.h>
#define TAG "System.out" //
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,TAG ,__VA_ARGS__) // 定义LOGD类型
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO,TAG ,__VA_ARGS__) // 定义LOGI类型
但是使用的时候,总是提示Symbol 'ANDROID_LOG_DEBUG' could not be resolved
解决办法:重装eclipse或者勾掉
Properties --> C/C++ General --> Code Analysis --> Configure Workspace Settings--> "Symbol is not resolved"
#include<android/log.h>
#define TAG "System.out" //
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,TAG ,__VA_ARGS__) // 定义LOGD类型
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO,TAG ,__VA_ARGS__) // 定义LOGI类型
但是使用的时候,总是提示Symbol 'ANDROID_LOG_DEBUG' could not be resolved
解决办法:重装eclipse或者勾掉
Properties --> C/C++ General --> Code Analysis --> Configure Workspace Settings--> "Symbol is not resolved"
相关文章推荐
- Symbol 'ANDROID_LOG_DEBUG' could not be resolved
- Symbol 'ANDROID_LOG_DEBUG' could not be resolved
- Symbol 'ANDROID_LOG_DEBUG' could not be resolved
- Symbol 'ANDROID_LOG_DEBUG' could not be resolved
- 编译jni时遇到错误提示:Symbol 'ANDROID_LOG_INFO' could not be resolved
- Android: Type Method 'NewStringUTF' could not be resolved
- Android NDK *** could not be resolved
- 【android】解决NDK开发中的 Method 'NewStringUTF' could not be resolved
- 【android】NDK开发编译C++文件出现Type 'jint' could not be resolved和Unresolved inclusion: <jni.h>的解决办法
- jni Symbol 'vector' could not be resolved
- 【已解决】NDK下Eclipse中交叉编译C项目出错:Symbol ‘NULL’ could not be resolved(JNI)
- 解决Eclipse中C++代码显示Symbol 'std' could not be resolved的问题
- eclipse cdt indigo: symbol could not be resolved fixed
- Symbol &#39;stderr&#39; could not be resolved
- Eclipse: symbol '???' could not be resolved [duplicate]
- Android NDK *** could not be resolved
- Android NDK *** could not be resolved
- Type 'AndroidBitmapInfo' could not be resolved
- android NDK JNI下有些函数could not be resolved
- eclipse CDT cygwin下出现大量Symbol could not be resolved的解决方法