react native,安卓下运行出错



  • app/build.gradle内:
    compileSdkVersion 23
    buildToolsVersion "24"

    defaultConfig {
        applicationId "com.myrn3"
        minSdkVersion 16
        targetSdkVersion 22
        versionCode 1
        versionName "1.0"
        ndk {
            abiFilters "armeabi-v7a", "x86"
        }
    

    dependencies {
    compile fileTree(dir: "libs", include: ["*.jar"])
    compile "com.android.support:appcompat-v7:23.0.1"
    compile "com.facebook.react:react-native:+" // From node_modules
    }

    运行react-native run-android
    之后,报* What went wrong:
    Execution failed for task ':app:processDebugResources'.

    at index 4

    请教如何处理?buildToolsVersion换了号几个版本的,都不行
    }