Click here to Skip to main content
15,886,761 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
I have downloaded Android source code of master branch and build it successfully.

Now, I want to add a new C or C++ library in this android source tree.

So for this where and what changes are required ?
Posted
Comments
Richard MacCutchan 19-Feb-15 4:27am    
What source tree do you mean, and how will C/C++ fit in with the rest of it?
RupeshMote 19-Feb-15 5:04am    
source tree means : Android source code that I have downloaded.
And
other libraries, for example : libpcap, libpng, openssl or zlib. These libraries are present under this path : '(Android_Working_Directory)/external/'.
So like this, I want to add a new library suppose 'libnet' in this android source code and build this library with android.
Richard MacCutchan 19-Feb-15 5:10am    
So add the library in a new directory and modify the makefile (or whatever build process you use), to include it in the make. Sorry, but I really do not understand what the problem is.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900