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. Creating a custom widget

Hi,

I am fairly new to android. I am trying to create a custom widget
which can display an image and two TextViews. I want to create the
layout for my custom widget in xml, but don't know how to use the xml.

I want to create a custom widget using xml file. I know how to set the
xml file as the main screen for an activity but don't know how to use
xml file to create a layout of a custom widget.

Any help is appreciated.

Rajeev

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

2. Linux 2.6 now on the iPhone

Blog: http://linuxoniphone.blogspot.com/2008/11/linux-on-iphone.html
Video: http://www.vimeo.com/2373142
Instructions: http://www.iphone-dev.org/planetbeing/LINUX-README.txt

Is this the first step towards Android on the iPhone? All the comments
are clamoring for it. Some people are even talking about dual-
booting..

Is this helpful for you guys?


--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: 

3. How to track the changes in the EditField

4. Astronomical Android Dev Phone 1 shipping free

5. Problem with configuring ADT ("failed to get the required adt version from sdk")

6. PV test framework for WMA decoder testing

7. Eclipse problem viewing threads on emulator