facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
118.05k stars 24.19k forks source link

Could not resolve com.facebook.react:react-android:0.71.1 #35909

Closed RamanDEEP225 closed 1 year ago

RamanDEEP225 commented 1 year ago

Description

Could not determine the dependencies of task ':app:mergeReleaseNativeLibs'.

Could not resolve all task dependencies for configuration ':app:releaseRuntimeClasspath'. Could not find com.facebook.fresco:fresco:2.2.0. Searched in the following locations:

  • https://repo.maven.apache.org/maven2/com/facebook/fresco/fresco/2.2.0/fresco-2.2.0.pom
  • https://oss.sonatype.org/content/repositories/snapshots/com/facebook/fresco/fresco/2.2.0/fresco-2.2.0.pom node_modules/jsc-android/dist/com/facebook/fresco/fresco/2.2.0/fresco-2.2.0.pom
  • https://dl.google.com/dl/android/maven2/com/facebook/fresco/fresco/2.2.0/fresco-2.2.0.pom
  • https://www.jitpack.io/com/facebook/fresco/fresco/2.2.0/fresco-2.2.0.pom Required by: project :app Could not find com.facebook.react:react-android:0.71.0. Searched in the following locations: node_modules/react-native/android/com/facebook/react/react-android/0.71.0/react-android-0.71.0.pom If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration. Required by: project :app Could not find com.facebook.react:hermes-android:0.71.0. Searched in the following locations: node_modules/react-native/android/com/facebook/react/hermes-android/0.71.0/hermes-android-0.71.0.pom If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration. Required by: project :app Could not find com.facebook.react:react-android:0.71.0. Searched in the following locations: react-native/android/com/facebook/react/react-android/0.71.0/react-android-0.71.0.pom If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration. Required by: project :app > project :react-native-splash-screen project :app > project :react-native-restart project :app > project :@react-native-firebase_analytics project :app > project :@react-native-community_art project :app > project :@react-native-firebase_app project :app > project :@react-native-firebase_database project :app > project :@react-native-firebase_messaging project :app > project :@react-native-community_clipboard project :app > project :react-native-add-calendar-event project :app > project :intercom-react-native project :app > project :@react-native-community_toolbar-android project :app > project :@react-native-community_blur project :app > project :react-native-gesture-handler project :app > project :react-native-device-info project :app > project :react-native-background-timer project :app > project :lottie-react-native project :app > project :react-native-picker project :app > project :react-native-maps project :app > project :rn-fetch-blob project :app > project :react-native-permissions project :app > project :react-native-geolocation-service project :app > project :react-native-navigation project :app > project :@react-native-firebase_crashlytics project :app > project :react-native-orientation project :app > project :react-native-pager-view project :app > project :@react-native-community_async-storage project :app > project :react-native-keychain project :app > project :intercom_intercom-react-native project :app > project :invertase_react-native-apple-authentication project :app > project :react-native-community_art project :app > project :react-native-community_async-storage project :app > project :react-native-community_blur project :app > project :react-native-community_cameraroll project :app > project :react-native-community_checkbox project :app > project :react-native-community_clipboard project :app > project :react-native-community_datetimepicker project :app > project :react-native-community_netinfo project :app > project :react-native-community_picker project :app > project :react-native-community_toolbar-android project :app > project :react-native-firebase_analytics project :app > project :react-native-firebase_app project :app > project :react-native-firebase_crashlytics project :app > project :react-native-firebase_database project :app > project :react-native-firebase_dynamic-links project :app > project :react-native-firebase_messaging project :app > project :react-native-google-signin_google-signin project :app > project :bugsnag-react-native project :app > project :react-native-device-country project :app > project :react-native-fast-image project :app > project :react-native-fs project :app > project :react-native-image-crop-picker project :app > project :react-native-inappbrowser-reborn project :app > project :react-native-linear-gradient project :app > project :react-native-localization project :app > project :react-native-month-year-picker project :app > project :react-native-snackbar project :app > project :react-native-spinkit project :app > project :react-native-vector-icons project :app > project :react-native-video project :app > project :react-native-webview project :app > project :rn-sms-retriever Could not find com.eightbitlab:blurview:1.6.3. Searched in the following locations:
  • https://repo.maven.apache.org/maven2/com/eightbitlab/blurview/1.6.3/blurview-1.6.3.pom
  • https://oss.sonatype.org/content/repositories/snapshots/com/eightbitlab/blurview/1.6.3/blurview-1.6.3.pom
  • /node_modules/jsc-android/dist/com/eightbitlab/blurview/1.6.3/blurview-1.6.3.pom
  • https://dl.google.com/dl/android/maven2/com/eightbitlab/blurview/1.6.3/blurview-1.6.3.pom
  • https://www.jitpack.io/com/eightbitlab/blurview/1.6.3/blurview-1.6.3.pom Required by: project :app > project :@react-native-community_blur project :app > project :react-native-community_blur Could not find com.facebook.react:react-android:0.71.0. Searched in the following locations:
  • node_modules/react-native/android/com/facebook/react/react-android/0.71.0/react-android-0.71.0.pom If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration. Required by: project :app > project :react-native-mmkv

Possible solution:

Version

0.71.0

Output of npx react-native info

After running npx react-native upgrade I got conflicts in the below files so I made manually changes in the below files according to this link https://react-native-community.github.io/upgrade-helper/?from=0.70.5&to=0.71.0

Steps to reproduce

After upgrading the react-native project from 0.70.5 to 0.71.0 I'm receiving these errors.

Snack, code example, screenshot, or link to a repository

thanks

cortinico commented 1 year ago
  • android/app/build.gradle
  • android/build.gradle
  • android/gradle.properties
  • android/settings.gradle

Can you share the content of those 4 files?

RamanDEEP225 commented 1 year ago

- android/app/build.gradle

`apply` plugin: "com.android.application"
apply plugin: "com.facebook.react"
import com.android.build.OutputFile

react {
}

def enableSeparateBuildPerCPUArchitecture = false
def enableProguardInReleaseBuilds = false
def jscFlavor = 'org.webkit:android-jsc:+'

android {
    compileSdkVersion `rootProject.ext.compileSdkVersion`
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    namespace "package name"
    defaultConfig {
        applicationId "package name"
        minSdkVersion 23
        missingDimensionStrategy "RNN.reactNativeVersion", "reactNative68"
        targetSdkVersion rootProject.ext.targetSdkVersion
        versionCode 81
        versionName "2.65"
        multiDexEnabled true
        aaptOptions { cruncherEnabled = false }
        ndk {
            abiFilters "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
        }
        dexOptions {
            javaMaxHeapSize "8g"
        }
    }
    splits {
        abi {
            reset()
            enable enableSeparateBuildPerCPUArchitecture
            universalApk false  // If true, also generate a universal APK
            include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
        }
    }
    signingConfigs {
        release {
            if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
                storeFile file(MYAPP_RELEASE_STORE_FILE)
                storePassword MYAPP_RELEASE_STORE_PASSWORD
                keyAlias MYAPP_RELEASE_KEY_ALIAS
                keyPassword MYAPP_RELEASE_KEY_PASSWORD
            }
        }
    }
    buildTypes {
        debug {
            signingConfig signingConfigs.debug
        }
        release {
            // Caution! In production, you need to generate your own keystore file.
            // see https://facebook.github.io/react-native/docs/signed-apk-android.
            signingConfig signingConfigs.release
            minifyEnabled enableProguardInReleaseBuilds
            proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
        }
    }
    // applicationVariants are e.g. debug, release
    applicationVariants.all { variant ->
        variant.outputs.each { output ->
            // For each separate APK per architecture, set a unique version code as described here:
            // https://developer.android.com/studio/build/configure-apk-splits.html
            def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4]
            def abi = output.getFilter(OutputFile.ABI)
            if (abi != null) {  // null for the universal-debug, universal-release variants
                output.versionCodeOverride =
                        versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
            }
        }
    }
}

dependencies {
    implementation "androidx.core:core-splashscreen:1.0.0"
    implementation project(':react-native-splash-screen')
    implementation("com.squareup.okhttp3:okhttp-urlconnection:4.9.1")
    implementation project(':react-native-restart')
    implementation 'com.google.firebase:firebase-dynamic-links:11.0.4'
    implementation project(path: ":@react-native-firebase_analytics")
    implementation 'com.google.code.gson:gson:2.8.6'
    implementation project(path: ":@react-native-community_art")
    implementation project(path: ":@react-native-firebase_app")
    implementation project(path: ":@react-native-firebase_database")
    implementation project(path: ":@react-native-firebase_messaging")
    implementation project(path: ":@react-native-community_clipboard")
    implementation project(':react-native-add-calendar-event')
    implementation 'io.intercom.android:intercom-sdk-base:7.2.0'
    implementation 'io.intercom.android:intercom-sdk-fcm:5.5.1'
    implementation project(':intercom-react-native')
    implementation project(':@react-native-community_toolbar-android')
    implementation project(':@react-native-community_blur')
    implementation project(':react-native-gesture-handler')
    implementation project(':react-native-device-info')
    implementation project(':react-native-background-timer')
    implementation project(':lottie-react-native')
    implementation 'com.facebook.fresco:fresco:2.2.0'
    implementation 'com.facebook.fresco:animated-gif:2.0.0'
    implementation 'com.facebook.fresco:animated-base-support:0.14.1'
    implementation project(':react-native-picker')
    implementation project(':react-native-maps')
    implementation project(':rn-fetch-blob')
    implementation project(':react-native-permissions')
    implementation(project(':react-native-geolocation-service')) {
        exclude group: 'com.google.android.gms', module: 'play-services-location'
    }
    implementation("com.facebook.react:react-android")
    implementation project(':react-native-navigation')
    implementation project(path: ":@react-native-firebase_crashlytics")
    // Firebase dependencies
    implementation "com.google.android.gms:play-services-base:17.6.0"
    implementation "com.google.firebase:firebase-core:18.0.2"
    implementation "com.google.firebase:firebase-messaging:21.0.1"
    implementation 'me.leolin:ShortcutBadger:1.1.22@aar'
    implementation "com.google.firebase:firebase-database:19.6.0"
    implementation "com.google.android.gms:play-services-location:17.1.0"
    implementation 'androidx.multidex:multidex:2.0.1'

    implementation project(':react-native-orientation')
    implementation project(':react-native-pager-view')
    implementation project(path: ':@react-native-community_async-storage')

    implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.0.0")
    debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}")
    implementation project(':react-native-keychain')

    debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
        exclude group:'com.squareup.okhttp3', module:'okhttp'
    }

    debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}")
    if (hermesEnabled.toBoolean()) {
        implementation("com.facebook.react:hermes-android")
    } else {
        implementation jscFlavor
    }
}

apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'

android/build.gradle

// Top-level build file where you can add configuration options common to all sub-projects/modules.
def googlePlayServicesVersion = '16.0.0'
def REACT_NATIVE_VERSION = new File(['node', '--print',"JSON.parse(require('fs').readFileSync(require.resolve('react-native/package.json'), 'utf-8')).version"].execute(null, rootDir).text.trim())

buildscript {
    ext {
        RNNKotlinVersion = "1.3.61"
        buildToolsVersion = "33.0.0"
        minSdkVersion = 22
        compileSdkVersion = 33
        targetSdkVersion = 33
        androidXCore = "1.0.2"
        supportLibVersion = "29.0.0"
        androidXAnnotation = "1.1.0"
        androidXBrowser = "1.0.0"
        ndkVersion = "23.1.7779620"
    }
    repositories {
        google()
        mavenLocal()
        mavenCentral()
        jcenter()

    }
    dependencies {
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.20"
        classpath('com.android.tools.build:gradle:7.3.1')
        classpath("com.facebook.react:react-native-gradle-plugin")
        classpath 'com.google.gms:google-services:4.3.4'
        classpath 'com.google.firebase:firebase-crashlytics-gradle:2.3.0'

    }
}

subprojects { subproject ->
    afterEvaluate {
        if ((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) {
            android {
                variantFilter { variant ->
                    def names = variant.flavors*.name
                    if (names.contains("reactNative51") || names.contains("reactNative55")||names.contains("reactNative56")||names.contains("reactNative57")||names.contains("reactNative57_5")||names.contains("reactNative57WixFork")||names.contains("ReactNative57Wix")) {
                        setIgnore(true)
                    }
                }
            }
        }
        if (subproject.hasProperty("android")) {
            android {
                compileSdkVersion 33
                buildToolsVersion "28.0.3"
                lintOptions {
                    checkReleaseBuilds false
                    // Or, if you prefer, you can continue to check for errors in release builds,
                    // but continue the build even when errors are found:
                    abortOnError false
                }
            }
        }
    }
}

android/gradle.properties

FLIPPER_VERSION=0.54.0
android.useAndroidX=true
android.enableJetifier=true
org.gradle.jvmargs=-Xms128m -Xmx1024m -XX:+CMSClassUnloadingEnabled
# Use this property to enable or disable the Hermes JS engine.
# If set to false, you will be using JSC instead.
hermesEnabled= true

gradle-wrapper.properties

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip

Here you go, @cortinico thanks for your reply, i now i upgraded react-native version from 0.70.5 to 0.71.1 as per below link but still getting issue related to "com.facebook.react:react-android:0.71.1 " https://github.com/facebook/react-native/issues/35828

This is the error, i'm getting in android studio Null extracted folder for artifact: ResolvedArtifact(componentIdentifier=com.facebook.react:react-android:0.71.1, variant=com.facebook.react:react-android:0.71.1 variant releaseVariantDefaultApiPublication, variantName=null, artifactFile = gradle/caches/modules-2/files-2.1/com.facebook.react/react-android/0.71.1/7a8f48d7355d9d0174cd88a99ddeb0576b714564/react-android-0.71.1-release.aar, isTestFixturesArtifact=false, extractedFolder=null, publishedLintJar=null, dependencyType=ANDROID, isWrappedModule=false, buildMapping={__current_build__=android, react-native-gradle-plugin=/node_modules/react-native-gradle-plugin})

iBotPeaches commented 1 year ago

@RamanDEEP225 - If you use the triple tick (```) - it would be much easier to parse those files you posted.

Take this example of android/settings.gradle

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https://services.gradle.org/distributions/gradle-7.5.1-all.zip
RamanDEEP225 commented 1 year ago

@iBotPeaches I updated files with triple tick, can you please check now. I tried deleting the node modules folder, still not working. https://github.com/facebook/react-native/issues/35900#issuecomment-1398696462

cortinico commented 1 year ago

Sadly your build.gradle has a number of problems. The biggest one I see is that you're mixing autolinked dependencies with non-autolinked dependencies:

dependencies {
    implementation "androidx.core:core-splashscreen:1.0.0"
    implementation project(':react-native-splash-screen')
    implementation("com.squareup.okhttp3:okhttp-urlconnection:4.9.1")
    implementation project(':react-native-restart')
    implementation 'com.google.firebase:firebase-dynamic-links:11.0.4'
    implementation project(path: ":@react-native-firebase_analytics")
    implementation 'com.google.code.gson:gson:2.8.6'
    implementation project(path: ":@react-native-community_art")
    implementation project(path: ":@react-native-firebase_app")
    implementation project(path: ":@react-native-firebase_database")
    implementation project(path: ":@react-native-firebase_messaging")
    implementation project(path: ":@react-native-community_clipboard")
    implementation project(':react-native-add-calendar-event')
    implementation 'io.intercom.android:intercom-sdk-base:7.2.0'
    implementation 'io.intercom.android:intercom-sdk-fcm:5.5.1'
    implementation project(':intercom-react-native')
    implementation project(':@react-native-community_toolbar-android')
    implementation project(':@react-native-community_blur')
    implementation project(':react-native-gesture-handler')
    implementation project(':react-native-device-info')
    implementation project(':react-native-background-timer')
    implementation project(':lottie-react-native')
    implementation 'com.facebook.fresco:fresco:2.2.0'
    implementation 'com.facebook.fresco:animated-gif:2.0.0'
    implementation 'com.facebook.fresco:animated-base-support:0.14.1'
    implementation project(':react-native-picker')
    implementation project(':react-native-maps')
    implementation project(':rn-fetch-blob')
    implementation project(':react-native-permissions')
    implementation(project(':react-native-geolocation-service')) {
        exclude group: 'com.google.android.gms', module: 'play-services-location'
    }
    implementation("com.facebook.react:react-android")
    implementation project(':react-native-navigation')
    implementation project(path: ":@react-native-firebase_crashlytics")
    // Firebase dependencies
    implementation "com.google.android.gms:play-services-base:17.6.0"
    implementation "com.google.firebase:firebase-core:18.0.2"
    implementation "com.google.firebase:firebase-messaging:21.0.1"
    implementation 'me.leolin:ShortcutBadger:1.1.22@aar'
    implementation "com.google.firebase:firebase-database:19.6.0"
    implementation "com.google.android.gms:play-services-location:17.1.0"
    implementation 'androidx.multidex:multidex:2.0.1'

    implementation project(':react-native-orientation')
    implementation project(':react-native-pager-view')
    implementation project(path: ':@react-native-community_async-storage')

    implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.0.0")
    debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}")
    implementation project(':react-native-keychain')

    debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
        exclude group:'com.squareup.okhttp3', module:'okhttp'
    }

specifically all those implementation project(':...') lines should be removed. We introduced autolinking several versions ago and this .gradle file was never cleaned.

I'm unsure what is causign this issue as you have so many dependencies that is hard to call out which one is creating this problem.

android/settings.gradle

The content of this file is also not the android/settings.gradle.

birdofpreyru commented 1 year ago

Hey @cortinico , I am facing the same issue trying to upgrade to RN@0.71.0 or RN@0.71.1. To reproduce, just try to init a new RN library using https://github.com/callstack/react-native-builder-bob, i.e.

$ npx create-react-native-library@latest react-native-awesome-module

Select type Turbo module with backward compat, Java and Objective-C languages. After initialization do npm install; then go into android folder, it does not have gradlew, so I just copied it in from another project, which I am actually trying to upgrade, alongside with gradle/wrapper/gradle-wrapper.jar and gradle/wrapper/gradle-wrapper.properties. Now, if I do ./gradlew lint I this resolution error, the same as in my actual project:

Could not find com.facebook.react:react-native

I tried to change build.gradle to have implementation "com.facebook.react:react-android", then getting

Could not find com.facebook.react:react-android

And with RN@0.70.x I had no problem running gradle lint and build on my project.

RamanDEEP225 commented 1 year ago

@cortinico, after removing implementation project(':...') lines

dependencies {
    implementation "androidx.core:core-splashscreen:1.0.0"
    implementation("com.squareup.okhttp3:okhttp-urlconnection:4.9.1")
    implementation 'com.google.firebase:firebase-dynamic-links:11.0.4'
    implementation 'com.google.code.gson:gson:2.8.6'
    implementation 'io.intercom.android:intercom-sdk-base:7.2.0'
    implementation 'io.intercom.android:intercom-sdk-fcm:5.5.1'
    implementation 'com.facebook.fresco:fresco:2.2.0'
    implementation 'com.facebook.fresco:animated-gif:2.0.0'
    implementation 'com.facebook.fresco:animated-base-support:0.14.1'
    implementation("com.facebook.react:react-android")

    // Firebase dependencies
    implementation "com.google.android.gms:play-services-base:17.6.0"
    implementation "com.google.firebase:firebase-core:18.0.2"
    implementation "com.google.firebase:firebase-messaging:21.0.1"
    implementation 'me.leolin:ShortcutBadger:1.1.22@aar'
    implementation "com.google.firebase:firebase-database:19.6.0"
    implementation "com.google.android.gms:play-services-location:17.1.0"
    implementation 'androidx.multidex:multidex:2.0.1'
    implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.0.0")
    implementation(project(':react-native-geolocation-service')) {
        exclude group: 'com.google.android.gms', module: 'play-services-location'
    }
    debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}")
    debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
        exclude group:'com.squareup.okhttp3', module:'okhttp'
    }
   debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}")
    if (hermesEnabled.toBoolean()) {
        implementation("com.facebook.react:hermes-android")
    } else {
        implementation jscFlavor
    }
}

Settings.gradle

rootProject.name = 'expin'
include ':react-native-keychain'
project(':react-native-keychain').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-keychain/android')
include ':react-native-restart'
project(':react-native-restart').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-restart/android')
include ':@react-native-firebase_analytics'
project(':@react-native-firebase_analytics').projectDir = new File(rootProject.projectDir, './../node_modules/@react-native-firebase/analytics/android')
include ':@react-native-community_art'
project(':@react-native-community_art').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-community/art/android')
include ':@react-native-firebase_app'
project(':@react-native-firebase_app').projectDir = new File(rootProject.projectDir, './../node_modules/@react-native-firebase/app/android')
include ':@react-native-firebase_database'
project(':@react-native-firebase_database').projectDir = new File(rootProject.projectDir, './../node_modules/@react-native-firebase/database/android')
include ':@react-native-firebase_crashlytics'
project(':@react-native-firebase_crashlytics').projectDir = new File(rootProject.projectDir, './../node_modules/@react-native-firebase/crashlytics/android')
include ':@react-native-firebase_messaging'
project(':@react-native-firebase_messaging').projectDir = new File(rootProject.projectDir, './../node_modules/@react-native-firebase/messaging/android')
include ':@react-native-community_clipboard'
project(':@react-native-community_clipboard').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-community/clipboard/android')
include ':react-native-add-calendar-event'
project(':react-native-add-calendar-event').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-add-calendar-event/android')
include ':intercom-react-native'
project(':intercom-react-native').projectDir = new File(rootProject.projectDir, '../node_modules/@intercom/intercom-react-native/android')
include ':@react-native-community_toolbar-android'
project(':@react-native-community_toolbar-android').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-community/toolbar-android/android')
include ':@react-native-community_blur'
project(':@react-native-community_blur').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-community/blur/android')
include ':react-native-gesture-handler'
project(':react-native-gesture-handler').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-gesture-handler/android')
include ':react-native-device-info'
project(':react-native-device-info').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-device-info/android')
include ':react-native-background-timer'
project(':react-native-background-timer').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-background-timer/android')
include ':lottie-react-native'
project(':lottie-react-native').projectDir = new File(rootProject.projectDir, '../node_modules/lottie-react-native/src/android')
include ':react-native-picker'
project(':react-native-picker').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-picker/android')
include ':@react-native-community_picker'
project(':@react-native-community_picker').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-community/picker/android')
include ':react-native-maps'
project(':react-native-maps').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-maps/lib/android')
include ':rn-fetch-blob'
project(':rn-fetch-blob').projectDir = new File(rootProject.projectDir, '../node_modules/rn-fetch-blob/android')
include ':react-native-permissions'
project(':react-native-permissions').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-permissions/android')
include ':react-native-geolocation-service'
project(':react-native-geolocation-service').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-geolocation-service/android')
include ':@react-native-community_async-storage'
project(':@react-native-community_async-storage').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-community/async-storage/android')
include ':react-native-orientation', ':app'
project(':react-native-orientation').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-orientation/android')
include ':react-native-navigation'
project(':react-native-navigation').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-navigation/lib/android/app/')
include ':react-native-pager-view'
project(':react-native-pager-view').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-pager-view/android')
include ':react-native-splash-screen'
project(':react-native-splash-screen').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-splash-screen/android')
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ':app'
includeBuild('../node_modules/react-native-gradle-plugin')

but facing the same issue. Can you please suggest any other solution?

cortinico commented 1 year ago

but facing the same issue. Can you please suggest any other solution?

Nope at this point we need a reproducer (i.e. a Github repo we can close and reproduce your error locally).

github-actions[bot] commented 1 year ago
:warning: Missing Reproducible Example
:information_source: It looks like your issue is missing a reproducible example. Please provide a Snack or a repository that demonstrates the issue you are reporting in a minimal, complete, and reproducible manner.
birdofpreyru commented 1 year ago

@cortinico Have you seen my message just above, I bump into this error if just run gradle lint on the standard template for library. Doesn't it count as a repro?

jorgerojas26 commented 1 year ago

I'm having the exact same error

github-actions[bot] commented 1 year ago

This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days.

github-actions[bot] commented 1 year ago

This issue was closed because the author hasn't provided the requested feedback after 7 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stalled for 7 days with no activity.