Failed to resolve firebase-ui:0.4.0
<p>Trying to update my firebaseui. But Why doesn't this work in my gradle file?</p>

<pre><code> compile 'com.firebaseui:firebase-ui:0.4.0'
</code></pre>

<p><strong>UPDATE</strong>
Still same problem.</p>

<p>My other dependicies ar also updated:</p>

<pre><code>dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'

    compile 'com.android.support:appcompat-v7:23.4.0'
    compile 'com.android.support:design:23.4.0'
    compile 'com.android.support:support-v4:23.4.0'
    compile 'com.android.support:recyclerview-v7:23.4.0'
    compile 'com.android.support:cardview-v7:23.4.0'

    compile 'com.squareup.retrofit2:retrofit:2.0.2'
    compile 'com.squareup.retrofit2:converter-gson:2.0.1'
    compile 'com.squareup.okhttp3:okhttp:3.2.0'


    compile 'com.google.android.gms:play-services:9.0.0'
    compile 'com.google.maps:google-maps-services:0.1.12'
    compile 'com.google.maps.android:android-maps-utils:0.4.3'

    compile 'com.google.code.gson:gson:2.6.2'
    compile 'com.google.android.gms:play-services-ads:9.0.0'
    compile 'com.google.android.gms:play-services-auth:9.0.0'
    compile 'com.google.android.gms:play-services-gcm:9.0.0'
    compile 'com.google.android.gms:play-services-location:9.0.0'


    compile 'com.firebase:firebase-simple-login:1.4.2'
    compile "com.google.firebase:firebase-database:9.0.0"
    compile 'com.firebaseui:firebase-ui:0.4.0'
</code></pre>