-5

When I use AndroidStudio ,I cannot get any Library from the Internet, just like this

this is My Gradle error message

AMAN77
  • 6,218
  • 9
  • 45
  • 60
  • Please add more information to your question. What have you tried? What errors did you see? Have it worked before? – David Nov 27 '17 at 07:53

1 Answers1

0

You can search dependencies at mvnrepository.com first, and then copy the gradle dependency to your grade file, instead of search dependencies in Android studio. Fot example, search GSON:

Figure : search GSON

and paste dependency to your gradle script:

...
dependencies {
    compile group: 'com.google.code.gson', name: 'gson', version: '2.8.2'
    ...
}
...
lp5
  • 126
  • 6