NDK 빌드 설정하기
apply plugin: 'com.android.model.application'
model {
...
android.ndk {
moduleName = "hello-jni"
}
...
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.2.1'
}apply plugin: 'com.android.model.application'
model {
...
android.buildTypes {
release {
isMinifyEnabled = false
proguardFiles += file('proguard-rules.txt')
}
debug {
isJniDebuggable = true
isDebuggable = true
}
}
...
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.2.1'
}Last updated