美文网首页
android项目提前编译jar包mk文件

android项目提前编译jar包mk文件

作者: Ed_Lannister | 来源:发表于2018-08-10 15:49 被阅读67次

LOCAL_PATH := (call my-dir) include(CLEAR_VARS)

是否开启混淆

LOCAL_PROGUARD_ENABLED := disabled
LOCAL_MODULE_TAGS := optional

使用 platform 签名

LOCAL_CERTIFICATE := platform

指定 src 目录

LOCAL_SRC_FILES := $(call all-java-files-under, src)

指定 res 目录

LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res

本地编译目录

LOCAL_PACKAGE_NAME := AppDemo
LOCAL_STATIC_JAVA_LIBRARIES := CommonUtil
BaiduLBS
logger
include (BUILD_PACKAGE) include(CLEAR_VARS)
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES :=
CommonUtil:/libs/CommonUtil.jar
BaiduLBS:/libs/BaiduLBS_Android.jar
logger:/libs/logger.jar
include $(BUILD_MULTI_PREBUILT)

相关文章

网友评论

      本文标题:android项目提前编译jar包mk文件

      本文链接:https://www.haomeiwen.com/subject/lzxlbftx.html