Android Studio 2.3 调试jni代码记录
In app/build.gradle, add compile dependency for debug and release builds with:
debugCompile project(path: ':your-lib', configuration: 'debug')
releaseCompile project(path: ':your-lib', configuration: 'release')
in lib(s)/build.gradle, enable publishNonDefault:
android {
publishNonDefault true
}
check value=”debug”
< facet type="native-android-gradle" name="Native-Android-Gradle" >
< configuration>
< option name="SELECTED_BUILD_VARIANT" value="debug" />
< configuration>
< facet>