报错内容如下:
make: *** 没有规则可以创建“out/target/common/obj/APPS/
AndroidWFS_intermediates/classes-full-debug.jar”
需要的目标“out/target/common/obj/JAVA_LIBRARIES/
core_intermediates/classes.jar”。 停止。
解决方案:
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_JAVA_LIBRARIES := commons-httpclient-3.0.1 commons-io-2.1 core tools acra
LOCAL_PACKAGE_NAME := AndroidWFS
LOCAL_CERTIFICATE := platform
LOCAL_DEX_PREOPT := false#这行加上后只生成独立apk,为true时生成一个odex和一个apk
include $(BUILD_PACKAGE)
include $(call all-makefiles-under,$(LOCAL_PATH))
commons-httpclient-3.0.1 commons-io-2.1 core tools acra#这些是别名,随便取,下面的jarname会用到的
. build/envsetup.sh
lunch aosp_arm-eng
cd packages/apps/applicationdir(项目目录)
mm
版权声明:本文为博主原创文章,未经博主允许不得转载。
原文地址:http://blog.csdn.net/vichild/article/details/47065215