解决之道:竟然是linux系统下目录分割符是‘/’,不是windows下的分割符'\'
原来出错的Android.mk源码如下:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := JimmyTest
LOCAL_SRC_FILES := E\:\\AndroidProjects\\UVCCamera\\jimmytest\\src\\main\\jni\\JNI.cpp
include $(BUILD_SHARED_LIBRARY)
修改一下,如下所示即可:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := JimmyTest
LOCAL_SRC_FILES := E:/AndroidProjects/UVCCamera/jimmytest/src/main/jni/JNI.cpp
include $(BUILD_SHARED_LIBRARY)
备注:从而可知,目录分割符的重要性,不要想当然呀。谨慎,谨慎,再谨慎!!!!!!!!!!