Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 6th, 2013  |  syntax: None  |  size: 0.77 KB  |  views: 48  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Gradle: A problem occurred configuring project ':MyProject'.
  2. > Could not resolve all dependencies for configuration ':MyProject:classpath'.
  3. > Could not resolve com.android.tools.build:gradle:0.5.+.
  4. Required by:
  5. Android:MyProject:unspecified
  6. > Could not HEAD 'http://repo1.maven.org/maven2/com/android/tools/build/gradle/0.5.4/gradle-0.5.4.pom'. Received status code 503 from server: Service Temporarily Unavailable
  7.        
  8. repositories {
  9.   mavenLocal()
  10. }
  11.        
  12. repositories {
  13.         mavenCentral()
  14.     }
  15.        
  16. ~/.m2/repository
  17.        
  18. mvn install:install-file -DgroupId=com.android.tools.build
  19. -DartifactId=builder
  20. -Dversion=0.5.4
  21. -Dfile=builder-0.5.4.jar
  22. -Dpackaging=jar
  23. -DgeneratePom=true
  24.        
  25. mavenLocal()
  26.        
  27. mavenCentral()
  28.        
  29. mavenCentral()
  30.        
  31. maven { url "http://us.maven.org/maven2/" }