android studio ndk 环境配置成eclipse模式
gradle.properties:
android.useDeprecatedNdk=true
build.gradle:
android {
...
sourceSets.main {
jni.srcDirs 'src/main/jni'
}
}
local.properties:
ndk.dir=ndkPath
gradle.properties:
android.useDeprecatedNdk=true
build.gradle:
android {
...
sourceSets.main {
jni.srcDirs 'src/main/jni'
}
}
local.properties:
ndk.dir=ndkPath