[JNI] bitmap handling source code frame. JNI, bitmap handling source code frame. #include /* Header for class com_example_coloring_utils_FloodFillUtils */#include #include #define LOG_TAG "DEBUG"#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__)#define LOGE(...) __android_log_print(ANDROID_LOG_ERROR,LOG_TAG,__VA_ARGS__) #ifndef _Included_com_example_coloring_utils_FloodFillUtils#define _Included_com_example_co.. 2014. 4. 16. [JNI] undefined reference to AndroidBitmap JNI, undefined reference to AndroidBitmap "undefined reference to AndroidBitmap_getInfo""undefined reference to AndroidBitmap_lockPixels""undefined reference to AndroidBitmap_unlockPixels" 위와 같이 AndroidBitmap 에 관한 reference 를 찾을 수 없다는 메세지가 나오면..Android.mk 파일에 아래와 같이 reference 를 추가 해 주면 된다. LOCAL_LDFLAGS += -ljnigraphics androidbitmap, getinfo, JNI, ljnigraphics, local_ldflags, lockpixels, NDK, R.. 2014. 4. 12. 반응형 이전 1 다음