introduction of NDK debug
The Android Studio 1.4 has already well equiped with the ndk debugger.
Android studio debug setup
Gradle configuration file, add the following lines in the app/build.gradle:
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
debuggable = true
jniDebuggable = true
} }
Invoke “Run”->”Debug app-native”.