Android+tv真机开发应用install报错问题-创新互联
Installation did not succeed.
The application could not be installed: INSTALL_FAILED_CONFLICTING_PROVIDER
List of apks:
[0] ‘D:\XXX\XXX\XXXX\XXX\XXX\XXXapp\build\outputs\apk\national\debug_online\XXX_debug_online_2.3.0_national_fusion_202212051636.apk’
Installation failed due to: ‘Failed to commit install session 1344865755 with command cmd package install-commit 1344865755. Error: INSTALL_FAILED_CONFLICTING_PROVIDER: Package couldn’t be installed in /data/app/com.xxx.xxx-BDbwGOBRu_lIaR8CWUVfog==: Can’t install because provider name xxx.xxx.versionProvider (in package com.xxx.xxx) is already used by com.cmmm.hjq_demo’
由于前序的软件安装、环境配置、jdk和sdk等问题已逐一解决,因此排除此类可能性。确定具有系统开发权限后,该问题的解决方法为:把com.cmri.hjq_demo uninstall,即——
在windows控制台中输入 “adb uninstall com.cmmm.hjq_demo” 即可解决。如下图,enter即可:
Installation did not succeed.
The application could not be installed: INSTALL_FAILED_SHARED_USER_INCOMPATIBLE
Installation failed due to: 'Failed to commit install session 1643319610 with command cmd package install-commit 1643319610. Error: INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Package com.xxx.xxx tried to change user android……
这是属于上一个报错的前序步骤应解决问题,此处顺带记一下。
1.检查local.properties和gradle.properties配置文件是否齐全,导入所需gradle。
2.检查Build Variants选择模式是否正确。(路径:菜单——Build——select Build Variants)
你是否还在寻找稳定的海外服务器提供商?创新互联www.cdcxhl.cn海外机房具备T级流量清洗系统配攻击溯源,准确流量调度确保服务器高可用性,企业级服务器适合批量采购,新人活动首月15元起,快前往官网查看详情吧
分享题目:Android+tv真机开发应用install报错问题-创新互联
标题URL:http://ybzwz.com/article/dohegc.html