报错Installation failed with message Failed to finalize session : INSTALL_FAILED_CONFLICTING_PROVIDER
来源:互联网 发布:linux中du命令 编辑:程序博客网 时间:2024/05/20 17:24
此报错的前因后果和这篇文章是一样的:链接如下
http://blog.csdn.net/willba/article/details/71189860
具体报错如下:
Installation failed with message Failed to finalize session : INSTALL_FAILED_CONFLICTING_PROVIDER: Package couldn’t be installed in /data/app/com.android.gallery3d-1: Can’t install because provider name com.android.gallery3d.provider (in package com.android.gallery3d) is already used by com.vivo.gallery.It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
错误原因是provider发生了冲突,导致安装失败
解决方案如下:
把清单文件里面的provider的android:authorities改成别的名字,我这里是在最后加666,原先后面是没有数字的
<provider android:name="com.android.gallery3d.provider.GalleryProvider" android:syncable="false" android:grantUriPermissions="true" android:exported="true" android:permission="com.android.gallery3d.permission.GALLERY_PROVIDER" android:authorities="com.android.gallery3d.provider666" />
以上!修改即可
1 0
- 报错Installation failed with message Failed to finalize session : INSTALL_FAILED_CONFLICTING_PROVIDER
- 报错Installation failed with message Failed to finalize session : INSTALL_FAILED_DUPLICATE_PERMISSION
- Mac Android Studio报错installation failed with message failed to finalize session;unknown failure(erro
- Android studio 报错 installation failed with message failed to finalize session:INSTALL_FAILED_INVALID
- Installation failed with message Failed to finalize session : INSTALL_FAILED_NO_MATCHING_ABIS
- Installation failed with message Failed to finalize session : INSTALL_FAILED_INTERNAL_ERROR.
- Installation failed with message Failed to finalize session : INSTALL_FAILED_NO_MATCHING_ABIS: Faile
- Installation failed with message INSTALL_FAILED_CONFLICTING_PROVIDER.
- Android Studio安装应用时报错 installation failed with message Failed to finalize session......
- 手机无法编译 Installation failed with message Failed to finalize session : INSTALL_FAILED_INTERNAL_ERROR.
- Installation failed with message Failed to finalize session : Unknown failure (Error: java.lang.Null
- 报Installation failed with message Failed to establish session错的解决办法
- 小米手机 报Installation failed with message Failed to establish session错的解决办法
- 报Installation failed with message Failed to establish session错的解决办法
- 小米手机调试运行报错Installation failed with message Failed to establish session
- android 报Installation failed with message Failed to establish session错的解决办法
- AS报错:Installation failed with message Failed to establish session
- 《小米手机报错“Installation failed with message Failed to establish session”》
- Ubuntu各个版本的镜像下载地址
- 一个简单的开始
- 1490: 关于最大公约数的疑惑
- serialization.h
- AWK编程(一)
- 报错Installation failed with message Failed to finalize session : INSTALL_FAILED_CONFLICTING_PROVIDER
- hexo sever端口占用,localhost:4000无响应
- 职业简历与健康病例 ,让别人更加了解你的途径,很重要!!!
- redhat7编译安装php-5.5.38
- 前端:登录页面
- JQuery选择器通过click事件获取当前点击对象的id,name,value属性
- Java final关键字
- Oracle数据库学习
- 兼容多浏览器,兼容 div、p、td 的强制不换行及强制换行