Error:NDK not configured. Download it with SDK manager

android studio问题:

Error:NDK not configured. Download it with SDK manager.

解决方案:

解决方法:
①在你的local.properties文件中添加你的ndk路径


sdk.dir=D\:\\YAOWork\\adt-bundle-windows-x86_64-20131030\\sdk
ndk.dir=D\:\\android-ndk-r10

②在你的build.properties配置文件里的Android{}里面添加如下代码块(和defaultConfig{}同级)

sourceSets {
        main {
            jni.srcDirs = []
        }
    }

你可能感兴趣的:(Error:NDK not configured. Download it with SDK manager)