uPhyca / stetho-realm

Realm module for Stetho
Other
738 stars 114 forks source link

Cant sync gradle,Error:Could not HEAD to the Url,Received status code 503 from server: first byte timeout #50

Closed kenchoong closed 7 years ago

kenchoong commented 7 years ago

I want to grab stetho-realm via Gradle in Android Studio. Here is my Gradle code

allprojects {
    repositories {
        maven {
            url 'https://github.com/uPhyca/stetho-realm/raw/master/maven-repo'
        }
        jcenter()
    }
}
dependencies {
    compile 'com.facebook.stetho:stetho:1.4.1'
    compile 'com.uphyca:stetho_realm:2.0.0'
   //here along with my other dependecies
}

But when I sync the Gradle it show me this error git

I even tried to adding maven and the url in my repositories,it show me this error git

But I test just only stetho,it sync successfully. compile 'com.facebook.stetho:stetho:1.4.1'

I havent do anything else,but can I know how to solve this??

masbarbosa commented 7 years ago

facing the same issue

kenchoong commented 7 years ago

@marcodebarbosa ,You solved this??

masbarbosa commented 7 years ago

No, I have not.

Komalnegi commented 7 years ago

same issue can anyone help ?

Komalnegi commented 7 years ago

Issue resolved change the gradle as follows:

allprojects {
    repositories {
        jcenter()
    }

    repositories {
        maven {
            url 'https://github.com/uPhyca/stetho-realm/raw/master/maven-repo'
        }
    }
}
kenchoong commented 7 years ago

@Komalnegi bro can u post gradle code in code format?cause is quite hard to see..pleaseee