How can I fix this CrashlyticsMissingDependencyException?

后端 未结 17 1645
耶瑟儿~
耶瑟儿~ 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:26

    In my case, I was using fabric in a "CommonLib" module that was added as a dependency in all other modules (including app). So, I had added apply plugin: 'io.fabric' after buildscript {} block. So, I placed two plugins together:

    apply plugin: 'com.android.library' 
    apply plugin: 'io.fabric'
    

    And problem got solved!

提交回复
热议问题