logo       

[android-developers] [android-developers]how to incude include static files: msg#04182

AndroidDevelopers

Subject: [android-developers] [android-developers]how to incude include static files(.a) in android jni application?

HI,all
I am recently developing a application use android jni.but,it cannot works.The application is base on a static library,
and ofcourse with some *.h files.I have include the .h files in my .cpp file,but it seems ,
the comile cann't find the vars definded in them.
my Android.mk is like this:
........................
.............
LOCAL_STATIC_LIBRARIES += \
   libfoo
LOCAL_C_INCLUDE += \
 $(JNI_H_INCLUDES)
 ./
........
.............
I build the application by the mmm foo at ${android_source}.
Anyone have done this before?Please help.thanks in advance.

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

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise