Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29455

Could not determine the dependencies of task ':app:lintVitalRelease'

$
0
0

I am new in react native and android development. Currently I want to build an APK but I faced this error.

**FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':app:lintVitalRelease'.

Could not resolve all task dependencies for configuration ':app:releaseRuntimeClasspath'. Could not resolve project :react-native-cookies. Required by: project :app Unable to find a matching configuration of project :react-native-cookies: None of the consumable configurations have attributes.**

In build.gradle file


    release {

      signingConfig signingConfigs.release
       matchingFallbacks = ['release', 'debug'] 
    }
  }


dependencies {
    implementation project(':react-native-cookies')
    implementation project(':react-native-clear-app-cache')
    implementation project(':react-native-vector-icons')
    implementation project(':react-native-image-picker')
    implementation project(':react-native-linear-gradient')
    implementation project(':react-native-gesture-handler')
    implementation project(':react-native-reanimated')
    implementation fileTree(dir: "libs", include: ["*.jar"])
    implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
    implementation "com.facebook.react:react-native:+"  // From node_modules
    implementation project(':react-native-orientation')

}

In app/build.gradle file

buildscript {
    ext {
        buildToolsVersion = "28.0.3" //28.0.3
        minSdkVersion = 16
        compileSdkVersion = 28 //28
        targetSdkVersion = 28
        supportLibVersion = "28.0.0"


    }

    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.3.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}


I dont know how to solve as I tried many times to modified buildToolsVersion, buildTypes and so on. Any idea to solve this issue? Please help.


Viewing all articles
Browse latest Browse all 29455

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>