从其他地方拷贝过来的项目,运行报了下面的错
Could not GET 'https://dl.bintray.com/umsdk/release/com/facebook/react/react-native/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
参考链接:https://zhuanlan.zhihu.com/p/443257960
解决方案:
在android/build.gradle中,在下面的的三个中哪个行用哪个,三个都试一下
// maven { url 'https://dl.bintray.com/umsdk/release' }
// maven { url 'https://status.bintray.com/umsdk/release' }
maven { url 'https://jcenter.bintray.com/umsdk/release' }