React native- how to fix the error [android build failed]

时间:2018-07-24 10:14:07

标签: react-native react-native-android

This is my error image

My android build is getting failed. How to fix the error.This is my code.

android {
compileSdkVersion 27
buildToolsVersion "27.0.3"

defaultConfig {
    minSdkVersion 16
    targetSdkVersion 23
    versionCode 1
    versionName "1.0"
}
 }
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.12'
implementation 'com.android.support:appcompat-v7:27.0.2'
implementation "com.facebook.react:react-native:+"  //From node_modules
}

0 个答案:

没有答案