Skip to content

RN 0.82.1 compilation on android problems #94

@bmatasar

Description

@bmatasar

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch [email protected] for the project I'm working on.

react-native-file-logger does not compile with RN 0.82 on android because gradle 9.0 has removed deprecated method jcenter().

Here is the diff that solved my problem:

diff --git a/node_modules/react-native-file-logger/android/build.gradle b/node_modules/react-native-file-logger/android/build.gradle
index 55f0b45..0e06387 100644
--- a/node_modules/react-native-file-logger/android/build.gradle
+++ b/node_modules/react-native-file-logger/android/build.gradle
@@ -10,7 +10,6 @@ buildscript {
         repositories {
             google()
             mavenCentral()
-            jcenter()
         }
 
         dependencies {
@@ -91,7 +90,6 @@ repositories {
     }
     google()
     mavenCentral()
-    jcenter()
 }
 
 dependencies {

This issue body was partially generated by patch-package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions