title: Android Studio add .jar files with gradle
body: <p>I am trying to work on an Android application with Android Studio. Therefore I set up everything accordingly (as far as I know).</p>
  
  <p>My build.gardle (in CampusApp folder) looks like:</p>
  
  <pre><code>buildscript {
      repositories {
          mavenCentral()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:0.6.+'
      }
  }
  apply plugin: 'android'
  
  repositories {
      mavenCentral()
  }
  
  android {
      compileSdkVersion 18
      buildToolsVersion "18.0.0"
  
      defaultConfig {
          minSdkVersion 8
          targetSdkVersion 19
      }
  }
  
  dependencies {
      compile 'com.android.support:support-v4:13.0.0'
      compile fileTree(dir: 'libs', include: '*.jar')
      compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar'
      compile 'com.google.android.gms:play-services:3.1.36'
  }
  </code></pre>
  
  <p><strong>When I try to Run:</strong> </p>
  
  <pre><code>./gradlew clean &amp;&amp; ./gradlew build
  </code></pre>
  
  <p><strong>it gives me many errors that say</strong> </p>
  
  <p>"<em>error: package XXXX does not exist</em>"</p>
  
  <pre><code>/Users/foo/git/CampusAppProject/CampusApp/src/main/java/de/unitrier/caching/DiskLruImageCache.java:7: error: package com.android.volley.toolbox does not exist
      import com.android.volley.toolbox.ImageLoader;
  [...]
  100 errors 
  :CampusApp:compileDebug FAILED
  FAILURE: Build failed with an exception.
  
  * What went wrong:
  Execution failed for task ':CampusApp:compileDebug'.
  &gt; Compilation failed; see the compiler error output for details.
  
  * Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  
  BUILD FAILED
  </code></pre>
  
  <p>My Workspace dir looks like:</p>
  
  <p><img src="https://i.stack.imgur.com/I1gGN.png" alt="enter image description here"></p>
  
  <p>Any Idea?</p>
  
  <p>[edit]
  Its not only volley that is not found. Its seems to be all those jar files that are in the lib folder</p>