My Android Studio project contains 2 modules, one is app, which is an application, another is a library named mymodule referred by app.
I create two folders in mymodule:
src/main/jniLibs
src/debug/jniLibs
What I want is when building app in debug mode, mymodule switch jniLibs dir to src/debug/jniLibs and mymodule switch jniLibs to jni/main/jniLibs if build app in release mode, I just don't know how to configure in my build.gradle, can anyone help?