React native 未找到gradle 3.1.2
我正在尝试运行我的react native项目(react native run android),但出现以下错误:React native 未找到gradle 3.1.2,react-native,android-gradle-plugin,react-native-android,React Native,Android Gradle Plugin,React Native Android,我正在尝试运行我的react native项目(react native run android),但出现以下错误: Could not resolve all files for configuration ':classpath'. Could not find com.android.tools.build:gradle:3.1.2. Searched in the following locations: https://jcenter.bintray.com/com/an
Could not resolve all files for configuration ':classpath'.
Could not find com.android.tools.build:gradle:3.1.2.
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/gradle/3.1.2/gradle-3.1.2.pom
https://jcenter.bintray.com/com/android/tools/build/gradle/3.1.2/gradle-3.1.2.jar
有什么帮助吗?将
google()
添加到项目构建中的存储库中。gr我也面临这个问题,但无法解决这个问题。你解决了这个问题吗?