Integrating 3rd party static library

by krish24 » Fri, 06 Mar 2009 04:20:12 GMT


Sponsored Links
 Hello Everyone,

I am linking a 3rd party static library from the executable module. I
have added following extra line in executable Android.mk file.

LOCAL_PREBUILT_LIBS := GPS_Lib.a
include $(BUILD_MULTI_PREBUILT)
LOCAL_STATIC_LIBRARIES := \
                       GPS_Lib


While building the executable module i got following warning and it
didnt build the executable.

LOCAL_BUILT_MODULE and LOCAL_INSTALLED_MODULE must not be defined by
component makefiles.  Stop.

Is there anything else i need to do ?
Where i should put 3rd party static library?

Regards
krish
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Integrating 3rd party static library

by Girish » Fri, 06 Mar 2009 09:55:16 GMT


 See this thread, i think this can be helpful



Sponsored Links


Integrating 3rd party static library

by Kishor » Fri, 06 Mar 2009 13:18:22 GMT


 Thanks a lot girish, i was able to resolve this issue by following the link.

I saw that build executable are getting generated in three locations :
"out/target/product/generic/obj/EXECUTABLES/GPS_intermediates/LINKED/GPS"
"out/target/product/generic/symbols/system/bin/GPS"
"out/target/product/generic/obj/EXECUTABLES/GPS_intermediates/GPS"

Which executable it will consider for final rootfs image?

Thanks and regards,
krish





> 



Integrating 3rd party static library

by Freepine » Fri, 06 Mar 2009 13:46:14 GMT


 I think there should be one more: out/target/product/generic/bin/GPS?If yes,
that's the one built into final image.





>> 



Other Threads

1. How to add a taskbar in xml UI.

Hi,
How to add a taskbar in xml UI.

Thnx.

-- 

2. Root Spica "cannot open the usb serial port. code:2" (need help)

Para suhu sekalian, sy mau root tp keluar kode error spt di Subject.
Gimanakah solusinya. Saya pake DXJB3.

Tadinya jg saya mau upgrade ke JC4, tp keluar kode error tsb jg.

Salam
Andri Fredyanto

-- 
"Indonesian Android Community [id-android]" 

3. Hide Activity

4. sending email with a file attached that is not on sdcard

5. query button on phone

6. Akhirnya....CM5 for Dream/Magic -> yup, its Eclair!!!

7. How to detect key held down