Good morning, a few days ago I opened my Android studio project and I found this error
this appeared out of nowhere as everything was working fine.
I thought that I only had to click on "Install Repository and sync project" and everything was going to be solved but nothing happens, the update installer does not start.
Keeping track of my .gradle dependencies I concluded that this error disappears when I remove the dependency to the Facebook SDK (compile 'com.facebook.android:facebook-android-sdk:[4,5)') for this reason I think this dependency is the one that requires me to install the update
this is my .gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.3"
defaultConfig {
applicationId 'code.taxigp.com.usuario'
minSdkVersion 16
targetSdkVersion 25
versionCode 6
versionName "6.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors {
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile files('libs/activation.jar')
//compile 'com.facebook.android:facebook-android-sdk:[4,5)'
compile 'com.facebook.android:facebook-android-sdk:[4,5)'
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.google.firebase:firebase-core:9.0.2'
compile 'com.google.firebase:firebase-database:9.0.0'
compile 'com.google.firebase:firebase-auth:9.0.2'
compile 'com.google.android.gms:play-services-auth:9.0.2'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.github.javiersantos:MaterialStyledDialogs:2.1'
compile 'com.github.anshulagarwal06:PasswordEditText:v1.0'
compile 'com.android.support:design:25.3.1'
compile 'pl.droidsonroids.gif:android-gif-drawable:1.2.7'
compile 'com.google.android.gms:play-services-maps:9.0.2'
compile 'com.github.markushi:circlebutton:1.1'
compile 'com.github.chrisbanes:PhotoView:2.1.3'
compile 'com.getkeepsafe.taptargetview:taptargetview:1.10.0'
compile 'com.github.dakatso:livebutton:1.0.0'
compile 'com.daimajia.slider:library:1.1.5@aar'
compile 'com.squareup.picasso:picasso:2.3.2'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.google.code.gson:gson:2.8.2'
compile 'io.github.luizgrp.sectionedrecyclerviewadapter:sectionedrecyclerviewadapter:1.1.3'
testCompile 'junit:junit:4.12'
}
apply plugin: 'com.google.gms.google-services'
I already have the latest updates: How can I solve this problem?
Beforehand thank you very much
It was solved by changing the facebook dependency for this:
where the SDK version is defined .
and not using the format indicated in the documentation , which apparently is only for installing one of the 6 components of the SDK :