android.mk 引用第3方jar包 example

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

LOCAL_MODULE_TAGS := user eng

###############################
LOCAL_STATIC_JAVA_LIBRARIES := lib3party
###############################

....

include $(BUILD_PACKAGE)

###############################
include $(CLEAR_VARS) 
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := lib3part:libs/3part.jar
include $(BUILD_MULTI_PREBUILT)
###############################

你可能感兴趣的:(java,android)