AppCenter build with realm js
build pass
A problem occurred configuring project ':realm'.
> Could not resolve all files for configuration ':realm:classpath'.
> Could not find com.android.tools.build:gradle:2.3.3.
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/gradle/2.3.3/gradle-2.3.3.pom
https://jcenter.bintray.com/com/android/tools/build/gradle/2.3.3/gradle-2.3.3.jar
Required by:
project :realm
For some reason the artifact isn't in jcenter repo anymore, we have the same problem.
Why not use the same version as in build.gradle file https://github.com/realm/realm-js/blob/master/react-native/android/build.gradle#L7 instead of this one which comes from here https://github.com/realm/realm-js/blob/master/react-native/android/publish_android_template ?
as a temporary solution in android build.gradle
subprojects {project ->
if (project.name.contains('realm')) {
buildscript {
repositories {
google()
jcenter()
maven { url = "https://dl.bintray.com/android/android-tools/" }
}
}
}
}
as a temporary solution in android build.gradle
subprojects {project -> if (project.name.contains('realm')) { buildscript { repositories { google() jcenter() maven { url = "https://dl.bintray.com/android/android-tools/" } } } } }
it works for me
I am closing the issue but please reopen if the issue is observed in the future.
Hey - looks like you forgot to add a T:* label - could you please add one?
Most helpful comment
as a temporary solution in android build.gradle
subprojects {project -> if (project.name.contains('realm')) { buildscript { repositories { google() jcenter() maven { url = "https://dl.bintray.com/android/android-tools/" } } } } }