Build fails with 'Program type already present: android.arch.core.util.Function'

前端 未结 5 1720
隐瞒了意图╮
隐瞒了意图╮ 2020-12-02 20:44

After updating my Firebase and Play Services dependencies as well as the Play Services Plugin my project fails to build. I\'ve tried multiple Clean-Rebuilds and my app has M

5条回答
  •  孤城傲影
    2020-12-02 21:13

    I found the solution which some great guy posted on GitHub. Instead of downgrading your firebaseUI database, you can add arch common and runtime dependencies which are these:

    //Arch
        implementation "android.arch.core:runtime:1.1.1"
        implementation "android.arch.core:common:1.1.1"
    

    Just add these in your app: module dependencies section and you know build it.

提交回复
热议问题