Reputation: 103
I'm new to android studio and familiar with eclipse, so I wanna develop a native C++ project, I created the project and set the native environment and compiled the projects successfully, now I wanna use a shared library which is assimp
, I created a jniLibs
folder under src/main
but i can't include any file from that library, in Eclipse there is a setting for include path.
Upvotes: 1
Views: 7826
Reputation:
For Android native development, you can use cmake tool chains. Inside your CMakeLists.txt
, you need to add the include path if you want to include any header files inside.
E.g.
include_directories(src/main/c)
Upvotes: 2