I'm getting the following crashlytics error every time I build any project:
java.io.IOException: Crashlytics could not read the
com.crashlytics.android.build_id as a value string
Has anyone come across this error? What does it mean, where does it come from and how do you resolve it? It happens during a step called crashlyticsStoreDeobsRelease
Steps I've tried so far to resolve this:
EDIT: this definately has something to do with the latest version of Android Studio (V1.1 beta 4) - as it occurs with all projects I'm trying to run under this version
EDIT #2: apparently this doesn't have to do with V1.1 beta 4.. I tried to install the stable build v1.0.1 and it still occurs there :/
Edit #3: I noticed that the files
- crashlytics-build.properties
- crashlytics.properties
- com_crashlytics_export_strings.xml
are only recreated on android-studio startup. Furthermore, the file com_crashlytics_export_strings.xml is deleted during apk build. Maybe this has something to do with the issue or is it normal behavior?
Link to the solution:
http://www.reddit.com/r/androiddev/comments/2v0ri1/crashlytics_or_fabric_or_whatever_isnt_working/
Change your classpath to this and it works:
dependencies {
classpath 'io.fabric.tools:gradle:1.14.4'
}
Apparently the last release that Fabric made (3 days ago) has caused this issue. Their latest release version at this time is 1.15.1
EDIT: Fabric have released version 1.15.2 which doesn't appear to have this problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With