How can I fix this CrashlyticsMissingDependencyException?

后端 未结 17 1606
耶瑟儿~
耶瑟儿~ 2020-12-04 18:42

I have been using the latest Crashlytics (Fabric integration) for a while. But recently I encountered the following crash error due to missing dependency although I didn\'t

17条回答
  •  南方客
    南方客 (楼主)
    2020-12-04 19:23

    The only workaround for now, if you really need to publish your app (like me), is to change the dynamic version numbers to static ones:

    [...]
    
    classpath 'io.fabric.tools:gradle:1.14.4'
    
    [...]
    
    compile('com.crashlytics.sdk.android:crashlytics:2.2.0@aar') {
            transitive = true
    }
    
    [...]
    

    EDIT:

    an updated version of the Fabric SDK has been published; you can get it by changing the line to this:

    classpath 'io.fabric.tools:gradle:1.26.1'
    

提交回复
热议问题