Realm-js: AppCenter build failing for realm project

Created on 10 Dec 2018  路  5Comments  路  Source: realm/realm-js

Goals

AppCenter build with realm js

Expected Results

build pass

Actual Results

  • What went wrong:
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

Steps to Reproduce

Code Sample

Version of Realm and Tooling

  • Realm JS SDK Version: [email protected]
  • Node or React Native: RN
  • Client OS & Version: ?
  • Which debugger for React Native: ?/None
O-Community T-Help

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/" } } } } }

All 5 comments

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?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kevinnguy picture kevinnguy  路  3Comments

fever324 picture fever324  路  4Comments

max-zu picture max-zu  路  3Comments

emrehayirci picture emrehayirci  路  3Comments

CrystalRanita picture CrystalRanita  路  3Comments