react-native安卓打包报Could not find support-annotations.jar (com.android.support:support-annotations:26

安卓打包报以下错误

react-native安卓打包报Could not find support-annotations.jar (com.android.support:support-annotations:26_第1张图片

解决方法:

向图中文件中添加
maven {
url "https://maven.google.com"
}

如图所示

react-native安卓打包报Could not find support-annotations.jar (com.android.support:support-annotations:26_第2张图片

你可能感兴趣的:(React,Native)