buildscript { repositories { jcenter() google() } dependencies { classpath 'com.android.tools.build:gradle:3.0.1' } } apply plugin: 'com.android.library' android { compileSdkVersion 26 buildToolsVersion "26.0.1" defaultConfig { minSdkVersion 16 targetSdkVersion 26 versionCode 1 versionName "1.0" } lintOptions { abortOnError false } } repositories { mavenCentral() google() } dependencies { compile 'com.facebook.react:react-native:+' }