Error:Program type already present: android.arch.lifecycle.LiveData
2024-08-28 14:03:26
Apparently, this is intended behavior:
com.firebaseui:firebase-ui-firestore:3.1.0 depends on android.arch.lifecycle:extensions:1.0.0-beta1. Switching to version 3.2.2 fixes the issue by using the Lifecycle 1.1 libraries that Support Library 27.1.0 are built upon. - Issue Tracker
For me, removing the firebase-ui
dependencies solved the issue since I wasn't even using the library in the first place.
You can specify the Gradle version in either the File > Project Structure > Project menu in Android Studio, or by editing the Gradle distribution reference in the gradle/wrapper/gradle-wrapper.properties
file. The following example sets the Gradle version to 4.10.1 in the gradle-wrapper.properties
file.
...
distributionUrl = https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
...
最新文章
- mysql命令行修改字符编码
- C#如何测试代码运行时间
- 如何自动化一键部署PHP项目
- Android中事件传递机制的总结
- js&;html5实现消星星游戏
- 8 Types Of Friends You Need To Have in Your Life
- 通过 Session 操纵对象
- Leetcode Count Prime
- ";库未注册";(Library not registered)异常.
- apt-get install jdk
- Tomcat学习—Tomcat的简介和目录以及配置文件介绍(Windows环境)
- AlloyTouch之无限循环select插件
- php数组和正则表达式的替换拆分匹配所有
- JAVA 的关键字 、
- jenkins 解决构建成功后进程消失的问题
- 针对多条件查询,应对 url 无用 null 值现象处理
- JAVA随笔----浅谈lombok注解
- 名称 ****不是有效的标识符 sql
- February 17th, 2018 Week 7th Saturday
- 如何在sublime编辑器中,执行命令行脚本
热门文章
- 【LOJ】#2525. 「HAOI2018」字串覆盖
- spring@PropertySource用法
- 4,EasyNetQ-Request Response
- B+/-Tree原理
- 理解JVM模型
- 狗日的系统之家下载的Windows 10 1803/1809系统不干净,捆绑自动安装腾讯关键等软件
- STM32 TIMER OUTPUT DIAGRAM
- PE Header and Export Table for Delphi
- OpenOCD Debug Adapter Configuration
- Android ListView中按钮监听器设置的解决方案