gradle - Why does it give me a "Failed to resolve" error in Android Studio? -


i trying learn android , tried make example tutorial. have include 2 libraries in build.gradle, when sync project gradle files gives me error: "failed resolve".

here dependecies part build.gradle:

dependencies { compile filetree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.loopj.android:android-async-http:1.4.4' compile 'com.squareup.picasso:picasso:2.1.1' 

}

is there somethig wrong versions of libraries or else?

in build.gradle have add:

repositories {     jcenter() } 

gradle has know download aar files.

pay attention example. using picasso:2.1.1.
old version.
here can find releases of library.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -