title: "No tests were found" for Android Studio
body: <p>I'm just migrated from Eclipse. My project keeps the old structure like below</p>
  
  <pre><code>projRoot\
      src\
      res\
      ...
      AndroidManifest.xml
      tests
      build.gradle
  </code></pre>
  
  <p>Here's content of build.gradle</p>
  
  <pre><code>buildscript {
      repositories {
          mavenCentral()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:0.12.+'
      }
  }
  apply plugin: 'android'
  
  dependencies {
      compile fileTree(dir: 'libs', include: '*.jar')
  }
  
  android {
      compileSdkVersion 19
      buildToolsVersion '19.1.0'
      sourceSets {
          main {
              manifest.srcFile 'AndroidManifest.xml'
              java.srcDirs = ['src']
              resources.srcDirs = ['src']
              aidl.srcDirs = ['src']
              renderscript.srcDirs = ['src']
              res.srcDirs = ['res']
              assets.srcDirs = ['assets']
          }
  
          androidTest.setRoot('tests/src')
  
          debug.setRoot('build-types/debug')
          release.setRoot('build-types/release')
      }
      defaultConfig {
          testApplicationId 'com.xxx.yyy.test'
          testInstrumentationRunner 'android.test.InstrumentationTestRunner'
          testHandleProfiling true
          testFunctionalTest true
      }
  }
  </code></pre>
  
  <p>I'm on Android Studio 0.8 beta, Gradle 1.12, I tried every possible solution found all over SO and google without any success.</p>
  
  <p>Anyone can help out? Thanks.</p>
  
  <p>In addition, where can I know the current version of Android Gradle plugin?</p>