unable to build System image when adding custom app

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

unable to build System image when adding custom app

406 Views
rakeshpatil
Contributor I

Hi,

I want to add my app in build which uses 4 .jar files and 2 .so libraries in libs folder

folder structure ---

libs

-armeabi

          -     lib0001.so

          -     lib002.so

-v4-support.jar

-Framework.jar

-asap.jar

-jvse.jar

and in .mk file i am writing

LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := optional

LOCAL_SRC_FILES := $(call all-subdir-java-files)

LOCAL_PACKAGE_NAME := TestApp

LOCAL_STATIC_JAVA_LIBRARIES := \

android-support-v4 \

asap \

Framework \

jvse

LOCAL_PRIVILEGED_MODULE := true

include $(BUILD_PACKAGE)

include $(call all-makefiles-under,$(LOCAL_PATH))

I am trying o add one app in the packages folder and compile but it gives following error

Install: out/target/product/sabresd_6dq/system/lib/modules/ath6kl_sdio.ko

make: *** No rule to make target `out/target/common/obj/JAVA_LIBRARIES/asapsdk_intermediates/javalib.jar', needed by `out/target/common/obj/APPS/MDTTestApp_intermediates/classes-full-debug.jar'.  Stop.

what all things i needs to do to add those .so files and .jar files.

Labels (3)
Tags (1)
0 Kudos
0 Replies