Arun J
Arun J

Reputation: 188

How can I add a '.so' library in my android project

I am a beginer in android.Now I am woking with an app that use native libraries.I need to know how to add a '.so' library file in my android project.Any one please help me.

Upvotes: 0

Views: 2268

Answers (1)

cafebabe1991
cafebabe1991

Reputation: 5186

after making your native c code and header file browse to the root directory of your project and run ndk-build command.That will generate the .so file and then place it inside your project/libs folder

Upvotes: 2

Related Questions