realm / realm-java

Realm is a mobile database: a replacement for SQLite & ORMs
http://realm.io
Apache License 2.0
11.45k stars 1.75k forks source link

Android - Realm plugin version v6.0.2 is not found during build #7826

Closed atul-vts closed 1 year ago

atul-vts commented 1 year ago

How frequently does the bug occur?

Always

Description

Hi team,

We're using Realm plugin version 6.0.2 and we're getting an error while running the build via Fastlane that this repository is not found, while it's working locally on Android Studio.

Error:

Stacktrace & log output

> * What went wrong:
A problem occurred configuring root project 's'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find io.realm:realm-gradle-plugin:6.0.2.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/io/realm/realm-gradle-plugin/6.0.2/realm-gradle-plugin-6.0.2.pom
       - https://repo.maven.apache.org/maven2/io/realm/realm-gradle-plugin/6.0.2/realm-gradle-plugin-6.0.2.pom
       - https://jcenter.bintray.com/io/realm/realm-gradle-plugin/6.0.2/realm-gradle-plugin-6.0.2.pom
     Required by:
         project :

Can you reproduce the bug?

Always

Reproduction Steps

Add fastlane to the project, and run the command to build the app via the fastlane command. It'll throw an error immediately.

Version

6.0.2

What Atlas App Services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

Android OS

Build environment

Android Studio version: Android Studio Flamingo | 2022.2.1 Patch 2 Gradle Version: 7.0.4 Kotlin Version: 1.7.21 Realm Version: 6.0.2

asrieltiago commented 1 year ago

We're also facing the same issue by using Realm 5.1.0 version.

Seems that JCenter Bintray is down, and those versions are not available in MavenCentral(). https://status.gradle.com/

alexdpayne commented 1 year ago

I'm using 6.1.1 same issue.

mleung-code commented 1 year ago

Same issue with 4.3.3

rav-ctrl commented 1 year ago

Same issue with 6.1.1

alexdpayne commented 1 year ago

Looks like it's back online again.

https://status.gradle.com/incidents/7x4wqd7zv715

atul-vts commented 1 year ago

Looks like it's back online again.

https://status.gradle.com/incidents/7x4wqd7zv715

It's working now!