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. Demande d'info

Bonjour

Est ce que c'est possible de controler les touches non tactile de son
terminal mobile. c'est  dire la touche appeler par exemple ou les touches
de volume.
Je veux que lorsque je fait un clic sur la touche menu, mon programme
affiche son menu et non pas celui de SE Android. Est ce que je peu controler
ce bouton?

Cordialement
Haythem

-- 

2. Problem installing android sdk in ubuntu 10.10

Hi all,

I am trying to install android sdk, but the for every try, the android sdk
manager gives this error message:

"Failed to fetch URL
http://dl-ssl.google.com/android/repository/addons_list.xml, reason:
Connection timed out"

It may look silly, but has anybody solved this? And I have tried with and
without https!

Thanks in advance.


Regards,
Saurav Mukherjee.

-- 

3. FOTA-like updates for non-phone devices?

4. Needed Help

5. Developer Console problem

6. Add frames to video stream

7. IM Application of Android 2.3.3