Release build fails

Deadly 提交于 2019-12-09 04:23:39

The problem was Firestore dependency that was adding an additional protobuf lite dependency

    implementation("com.google.firebase:firebase-firestore:$firebaseFirestoreVersion") {
    exclude group: 'com.google.firebase', module: 'protolite-well-known-types'
    }

Excluding the additional part will solve the problem.

To check the conflicting depenencies in Android Studio terminal write

gradlew app:dependencies 

And verifty that is not added more then once.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!