testing - "No tests were found" for Android Studio -


i'm migrated eclipse. project keeps old structure below

projroot\     src\     res\     ...     androidmanifest.xml     tests     build.gradle 

here's content of build.gradle

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     } } 

i'm on android studio 0.8 beta, gradle 1.12, tried every possible solution found on , google without success.

anyone can out? thanks.

in addition, can know current version of android gradle plugin?


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -