You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
I didn't change anything in the project and it was working fine a while ago.
I've deleted and reinstalled node modules, cleared caches, ran it on another android environment, but I keep getting this error.
I also added google() as the repositories in react-native-get-real-path's build.gradle file, all to no avail.
Reproducible Demo
Building the project with the mentioned RN, Gradle and react-native-get-real-path versions.
The text was updated successfully, but these errors were encountered:
As far as my understanding goes, jcentre() doesn't support Gradle version 2.2.+ anymore.
A solution that's worked for me:
Adding mavenCentral() to the repositories under allprojects in the project level build.gradle file.
Adding mavenCentral() in the repositories in react-native-get-real-path's build.gradle file
As react-native-get-real-path was a dependency in my case for react-native-firebase, I also had to add maven central as a dependency in that module's build.gradle file for it to work.
Environment
React native version: 0.62.2,
react-native-get-real-path: "git+https://github.com/Wraptime/react-native-get-real-path.git",
Gradle version 3.3.0,
Dependency in react-native-get-real-path's build.gradle file: Gradle version 2.2.+
Description
I try to run the app with react-native run-android or if I run ./gradlew clean in the android folder, I get the error:
FAILURE: Build failed with an exception.
A problem occurred configuring project ':react-native-get-real-path'.
I didn't change anything in the project and it was working fine a while ago.
I've deleted and reinstalled node modules, cleared caches, ran it on another android environment, but I keep getting this error.
I also added google() as the repositories in react-native-get-real-path's build.gradle file, all to no avail.
Reproducible Demo
Building the project with the mentioned RN, Gradle and react-native-get-real-path versions.
The text was updated successfully, but these errors were encountered: