The situation is like this:
1. I got one jar named test_abc.jar
2. I need to provide one LOCAL_JAVA_LIBRARIES named com.test.abc for
using as follow:
    LOCAL_PATH:= $(call my-dir)
    include $(CLEAR_VARS)
    LOCAL_MODULE_TAGS := eng
    LOCAL_SRC_FILES := $(call all-subdir-java-files)
    LOCAL_JAVA_LIBRARIES := com.test.abc
    LOCAL_PACKAGE_NAME := EdfDemo
    include $(BUILD_PACKAGE)
3. That means I need to build the test_abc.jar to com.test.abc. How
can i implement it?

Now i have done the follow things:
1. Create one Android.mk
    LOCAL_PATH := $(my-dir)
    include $(CLEAR_VARS)
    LOCAL_JAR_PATH := htc_framework.jar
    LOCAL_MODULE := com.test.abc
    LOCAL_MODULE_CLASS := JAVA_LIBRARIES
    include $(BUILD_JAVA_LIBRARY)
2. put the test_abc.jar in the same folder with Android.mk

Build error:  "Target java module does not define any source or
resource files." How can i solve this?

BTW, please notes that I need to provide one LOCAL_JAVA_LIBRARIES not
LOCAL_STATIC_JAVA_LIBRARIES.
Thanks in advance!
Jiajun


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to