Failed to resolve: com.android.support.test:testing-support-lib:0.1 -


i have used androidjunitrunner on project following instruction here.

now i'm trying use in project i'm having problems.

i added:

testcompile('com.android.support.test:testing-support-lib:0.1') {     exclude group: 'junit'  // junit:junit-dep conflicts junit:unit } 

what happens android studio shows error:

failed resolve: com.android.support.test:testing-support-lib:0.1

and asks me install new package. accept , shows:

loading sdk information... refresh sources:   fetched add-ons list   refresh sources  installing archives:   preparing install archives   installing android support repository, revision 15     installed android support repository, revision 15   done. 1 package installed. 

but when try sync same error again

failed resolve: com.android.support.test:testing-support-lib:0.1

and asks me install again.

i checked package installed.


Comments

Popular posts from this blog

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -