添加了achartengine-1.0.0.jar包,Android源码mmm时出错。 麻烦看下。

weixin_38067693 2014-03-17 03:07:34
出错信息: build/core/base_rules.mk:76: *  build/core/base_rules.mk:77: * Each module must use a LOCAL_MODULE_TAGS in its build/core/base_rules.mk:78: * Android.mk. Possible tags declared by a module: build/core/base_rules.mk:79: *  build/core/base_rules.mk:80: *     optional, debug, eng, tests, samples build/core/base_rules.mk:81: *  build/core/base_rules.mk:82: * If the module is expected to be in all builds build/core/base_rules.mk:83: * of a product, then it should use the build/core/base_rules.mk:84: * "optional" tag:  build/core/base_rules.mk:85: *  build/core/base_rules.mk:86: *    Add "LOCAL_MODULE_TAGS := optional" in the build/core/base_rules.mk:87: *    Android.mk for the affected module, and add build/core/base_rules.mk:88: *    the LOCAL_MODULE value for that component build/core/base_rules.mk:89: *    into the PRODUCT_PACKAGES section of product build/core/base_rules.mk:90: *    makefile(s) where it's necessary, if build/core/base_rules.mk:91: *    appropriate. build/core/base_rules.mk:92: *  build/core/base_rules.mk:93: * If the component should be in EVERY build of ALL build/core/base_rules.mk:94: * products, then add its LOCAL_MODULE value to the build/core/base_rules.mk:95: * PRODUCT_PACKAGES section of build/core/base_rules.mk:96: * build/target/product/core.mk build/core/base_rules.mk:97: *  build/core/base_rules.mk:98: *** user tag detected on new module - user tags are only supported on legacy modules.  Stop. 下面是Android.mk LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES:= $(call all-java-files-under, src) LOCAL_STATIC_JAVA_LIBRARIES := kkk LOCAL_PACKAGE_NAME := MyApp include $(BUILD_PACKAGE) include $(CLEAR_VARS)   LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := kkk:achartengine-1.0.0.jar include $(BUILD_MULTI_PREBUILT) include $(call all-makefiles-under,$(LOCAL_PATH))
...全文
36 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

476

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧