buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.3.1' } } apply plugin: 'com.android.library' android { compileSdkVersion 23 buildToolsVersion '27.0.3' defaultConfig { minSdkVersion 16 targetSdkVersion 22 versionCode 1 versionName "1.0" } lintOptions { abortOnError false } } repositories { mavenCentral() } dependencies { compile 'com.facebook.react:react-native:+' compile 'com.aliyun.dpa:oss-android-sdk:+' }