转载请标明出处:
http://blog.csdn.net/changs_roid/article/details/52311755
android studio undefined reference to `__android_log_print’
ndk {
moduleName = 'hello-jni'
toolchain = 'clang'
ldLibs.add("log")
CFlags.addAll(['-Wall'])
}
添加 ldLibs.add(“log”) 就解决了