View Single Post
Old July 10th, 2009, 04:00 AM   #2 (permalink)
isup
Junior Member
 
Join Date: Jul 2009
Posts: 20
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Red face

Below is my makefile. The generated APK file does not include the classes from Third_party_2.5.jar, even though the build succeeds. The application does not work after the APK is loaded. Any suggestion?

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_STATIC_JAVA_LIBRARIES := libabc
LOCAL_MODULE_TAGS := eng development
LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_PACKAGE_NAME := ABC_app
include $(BUILD_PACKAGE)
###############################
include $(CLEAR_VARS)
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := libabc:lib/Third_party_2.5.jar
include $(BUILD_MULTI_PREBUILT)
# Use the folloing include to make our test apk.
include $(call all-makefiles-under,$(LOCAL_PATH))
isup is offline  
Reply With Quote