Mertalp Taşdelen Mertalp Taşdelen - 3 years ago 145
Android Question

how can i add dependence when i got error

I am trying to make an chat app with firebase and i need to add this two dependencies

compile ''
compile 'com.firebaseui:firebase-ui:0.6.0'

my base compileSDKVersion is

ompileSdkVersion 26
buildToolsVersion "26.0.2"
defaultConfig {
minSdkVersion 16
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner ""

while i am trying to add two line of code dependencies segment i got this error

Failed to resolve:

How can i make it right ? Thanks...

Answer Source
dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    androidTestCompile('', {
        exclude group: '', module: 'support-annotations'
    compile ''
    compile ''
    compile 'com.jakewharton:butterknife:8.8.1'
    compile ''
    testCompile 'junit:junit:4.12'
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
    compile ''
    compile ''


and in build.gradle(project )

allprojects {
    repositories {

hope this will help you.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download