Twitter Fabric fails to install in Android Studio due to missing dependencies

后端 未结 4 2104
梦如初夏
梦如初夏 2021-02-14 07:18

I\'m setting up a Cordova project with Fabric to enable signing in with Twitter. I just installed Fabric plug-in into Android Studio but when I sync Gradle files I get the follo

4条回答
  •  清酒与你
    2021-02-14 07:47

    Change jcenter() to mavenCentral() or you can keep both jcenter and mavenCentral also change url from https://maven.fabric.io/repo to https://maven.fabric.io/public

    buildscript {
        repositories {
            mavenCentral()   // <- *add this
            maven { url 'https://maven.fabric.io/public' }
        }
    }
    

提交回复
热议问题