脚本没有下载到对应的umeng包导致的,建议在友盟官网选择目前对应的包进行配置:
https://dev.umeng.com/sdk_integate/android_sdk/android_common_guide
另外记得在android目录下的build.gradle下添加:
allprojects {
repositories {
mavenLocal()
google()
jcenter()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
maven { url 'https://dl.bintray.com/umsdk/release' }
}
}