想在gingerbread里添加一个APP gsensor测试代码,用mmm编译后出现
make: *** 没有规则可以创建“out/target/common/obj/APPS/accSensor_intermediates/classes-full-debug.jar”需要的目标“out/target/common/obj/JAVA_LIBRARIES/sdk_v4_intermediates/javalib.jar”。 停止
在网络上查找了好久都没有结果,最后修改Android.mk
- LOCAL_PATH := $(call my-dir)
-
include $(CLEAR_VARS)
-
LOCAL_MODULE_TAGS := tests
-
LOCAL_PACKAGE_NAME := accSensor
-
#LOCAL_SDK_VERSION := 4
-
LOCAL_SRC_FILES := $(call all-subdir-java-files)
-
include $(BUILD_PACKAGE)
把line5 comment掉居然通过了.
阅读(12300) | 评论(0) | 转发(0) |