LoginSignup
5
0

More than 5 years have passed since last update.

Android Studioで"io.fabric.tools:gradle"のバージョン1.28.0に関連した問題

Posted at

概要

なんにもしてないのに今日ビルドエラーになってました。(まじで)

No signature of method: com.crashlytics.tools.gradle.CrashlyticsPlugin.findObfuscationTransformTask() is applicable for argument types: (java.lang.String) values: [MyAppProductionDebug]

スタックオーバーフローに解決方法が記載されていました。
https://stackoverflow.com/questions/55214993/error-no-signature-of-method-com-crashlytics-tools-gradle-crashlyticsplugin-fi

原因

"io.fabric.tools:gradle"の最新バージョン1.28.0に関連した問題のようです。
手元のBuild.gradleは"1.+"となっていて常に最新になるようになっておりました。

dependencies {
    classpath 'io.fabric.tools:gradle:1.+'
}

解決方法

現在の最新安定版にダウングレードする。

dependencies {
    classpath 'io.fabric.tools:gradle:1.27.1'
}

おわり

今後はバージョン番号に+を使用しないほうが無難ですね。

5
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
0