Fabric成功地處理了我的項目。突然有一天,它開始給我錯誤「Error:(18, 0) Plugin with id 'io.fabric' not found
」。我檢查了所有內容,但它已正確整合。請幫忙給解決錯誤:(18,0)未找到id爲'io.fabric'的插件
外的build.gradle
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
}
內的build.gradle
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile('com.crashlytics.sdk.android:crashlytics:[email protected]') {
transitive = true;
}
}
apply plugin: 'com.google.gms.google-services'
我們應該如何幫助這裏?你至少可以分享你的build.gradle –