我遵循android realm hear的入门指南.
我将最新的android studio版本3.0 RC 1与以下build.gradle文件一起使用:
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-rc1'
classpath "io.realm:realm-gradle-plugin:4.0.0.pre.rc1"
}
}
当我同步gradle时,我收到以下错误消息:
Error:Could not find io.realm:realm-gradle-plugin:4.0.0.pre.rc1.
Searched in the following locations:
file:/D:/98_Downloads/android-studio-ide-171.4392136-windows/android-studio/gradle/m2repository/io/realm/realm-gradle-plugin/4.0.0.pre.rc1/realm-gradle-plugin-4.0.0.pre.rc1.pom
file:/D:/98_Downloads/android-studio-ide-171.4392136-windows/android-studio/gradle/m2repository/io/realm/realm-gradle-plugin/4.0.0.pre.rc1/realm-gradle-plugin-4.0.0.pre.rc1.jar
https://jcenter.bintray.com/io/realm/realm-gradle-plugin/4.0.0.pre.rc1/realm-gradle-plugin-4.0.0.pre.rc1.pom
https://jcenter.bintray.com/io/realm/realm-gradle-plugin/4.0.0.pre.rc1/realm-gradle-plugin-4.0.0.pre.rc1.jar
https://dl.google.com/dl/android/maven2/io/realm/realm-gradle-plugin/4.0.0.pre.rc1/realm-gradle-plugin-4.0.0.pre.rc1.pom
https://dl.google.com/dl/android/maven2/io/realm/realm-gradle-plugin/4.0.0.pre.rc1/realm-gradle-plugin-4.0.0.pre.rc1.jar
Required by:
project :
我怎么了有想法吗?谢谢!