Project in Android studio does not run for lack of libs

-1

I have this error when trying to run an Android project I did a while ago, I cloned the git repository and tried to run, I updated Android Studio soon I do not know what to do.

Error:

  

Error: Execution failed for task ': app: compileDebugJavaWithJavac'.    JAVA   (File or directory not found)

    
asked by anonymous 02.09.2016 / 20:58

1 answer

0

Android Studio projects use Gradle to build. See if in the build.gradle file there is a declaration for it to use the jars of the libs folder as a dependency. Usually as below:

dependencies {
    compile fileTree(dir: 'libs', include: '*.jar')

}
    
02.09.2016 / 21:54