buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.3.0' } } apply plugin: 'com.android.library' android { compileSdkVersion project.hasProperty('compileSdkVersion') ? project.compileSdkVersion : 26 buildToolsVersion project.hasProperty('buildToolsVersion') ? project.buildToolsVersion : '26.0.3' defaultConfig { minSdkVersion 16 targetSdkVersion project.hasProperty('targetSdkVersion') ? project.targetSdkVersion : 26 versionCode 1 versionName "1.0" } lintOptions { abortOnError false } } repositories { mavenCentral() } dependencies { implementation "com.facebook.react:react-native:+" // From node_modules implementation 'androidx.appcompat:appcompat:1.1.0-rc01' implementation 'androidx.annotation:annotation:1.0.2' }