title: In android ndk how to create multiple library(.so) at one build run
body: <p>How to create a multiple .so file or library in a single ndk-build run For example i have posted my code:</p>
  
  <p>build.gradle:</p>
  
  <pre><code>ndk {
  moduleName = [“native-lib”,”MyLibrary”]
  }
  
  sourceSets.main {
  jni.srcDirs = []
  jniLibs.srcDir “src/main/libs”
  }
  </code></pre>
  
  <p>Android.mk:</p>
  
  <pre><code>LOCAL_PATH := $(call my-dir)
  
  include $(CLEAR_VARS)
  
  LOCAL_MODULE := native-lib
  LOCAL_MODULE := MyLibrary
  LOCAL_SRC_FILES := native-lib.cpp
  LOCAL_SRC_FILES := MyLibrary.cpp
  include $(BUILD_SHARED_LIBRARY)
  </code></pre>
  
  <p>Application.mk:</p>
  
  <pre><code>APP_MODULES := native-lib
  APP_MODULES := MyLibrary
  
  APP_ABI := all
  </code></pre>
  
  <p>is this can be done or is there any other way to do this. Thanks</p>