静态编译将jar打入apk

MakeFile  
静态编译将jar打入apk

 

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

LOCAL_MODULE_TAGS := optional

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

LOCAL_PACKAGE_NAME := BaiduSDKDemo

LOCAL_STATIC_JAVA_LIBRARIES := baiduad

include $(BUILD_PACKAGE)

include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := baiduad:Baidu_MobAds_Android_SDK.jar
include $(BUILD_MULTI_PREBUILT)

 

 

 

你可能感兴趣的:(静态编译将jar打入apk)