i have followed this link to integrate ndk to my project. But after finished setup this error occurs when compiling. please help me to solve this error.
using
android studio v0.5.7
ndk android_ndk_r9b
i have followed this link to integrate ndk to my project. But after finished setup this error occurs when compiling. please help me to solve this error.
using
android studio v0.5.7
ndk android_ndk_r9b
Please switch to the latest Android-NDK (android-ndk-r10e in my case).
I had this issue with following config - Eclipse luna, Android SDK & Android-ndk-r9b.
When I updated the NDK, the issue was resolved.
I think you have not added the code below to your build.gradle file. This solution is for android-studio:
sourceSets.main {
jniLibs.srcDir 'src/main/libs'
jni.srcDirs = [] //disable automatic ndk-build call
}