Skip to content Skip to sidebar Skip to footer

Jar File Not Identified By Android Project With Gradle

I have a local file {projectroot}/libs/javacsv.jar and I include it in my build.gradle which is also in the root of my project as following dependencies { classpath 'com.androi

Solution 1:

There two dependencies sections in build.gradle:

buildscript {
    repositories {
    //repositories for build script dependencies
    }

   dependencies {
   //dependencies for build script
   }
}

apply plugin: 'android'

repositories {
//repositories for project dependencies
}

android {
....
}

dependencies {
//dependencies for project 
}

So move your libs section to correct one.

Post a Comment for "Jar File Not Identified By Android Project With Gradle"