android studio问题:installation failed with message INSTALL_CANCELED_BY_USER
来源:互联网 发布:java多线程编程实战 编辑:程序博客网 时间:2024/05/16 10:10
开发工具:android studio
测试终端:小米note
终端环境:miui8.2
在开发程序时,安装APP时,错误弹框提示内容如下:
installation failed with message INSTALL_CANCELED_BY_USER.
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present,and then re-installing.
WARNING:uninstalling will remove the application data
do you want to uninstall the existing application.
debug错误信息如下:
$ adb install-multiple -r D:\work\ASWorkspace\MyApplication\app\build\intermediates\split-apk\debug\dep\dependencies.apk D:\work\ASWorkspace\MyApplication\app\build\intermediates\split-apk\debug\slices\slice_0.apk D:\work\ASWorkspace\MyApplication\app\build\intermediates\split-apk\debug\slices\slice_3.apk D:\work\ASWorkspace\MyApplication\app\build\intermediates\split-apk\debug\slices\slice_2.apk D:\work\ASWorkspace\MyApplication\app\build\intermediates\split-apk\debug\slices\slice_1.apk D:\work\ASWorkspace\MyApplication\app\build\intermediates\split-apk\debug\slices\slice_4.apk D:\work\ASWorkspace\MyApplication\app\build\intermediates\split-apk\debug\slices\slice_5.apk D:\work\ASWorkspace\MyApplication\app\build\intermediates\split-apk\debug\slices\slice_6.apk D:\work\ASWorkspace\MyApplication\app\build\intermediates\split-apk\debug\slices\slice_7.apk D:\work\ASWorkspace\MyApplication\app\build\intermediates\split-apk\debug\slices\slice_8.apk D:\work\ASWorkspace\MyApplication\app\build\intermediates\split-apk\debug\slices\slice_9.apk D:\work\ASWorkspace\MyApplication\app\build\outputs\apk\app-debug.apk
$ adb shell pm uninstall map.xxx.xxx.xxx(包名)
Unknown failure (Failure - not installed for 0)
Error while Installing APKs
解决方案:在MIUI “设置”-->"更多设置"--->"开发者选项"中最下方,关闭“启用 MIUI优化”,重启计算机,连接手机,重新clean project,rebuilt project,重新安装即可成功。
- android studio问题:installation failed with message INSTALL_CANCELED_BY_USER
- anroid studio installation failed with message install_canceled_by_user
- Installation failed with message:INSTALL_CANCELED_BY_USER
- Installation failed with message:INSTALL_CANCELED_BY_USER
- Installation failed with message:INSTALL_CANCELED_BY_USER
- Installation failed with message:INSTALL_CANCELED_BY_USER
- Installation failed with message:INSTALL_CANCELED_BY_USER
- Installation failed with message INSTALL_CANCELED_BY_USER.
- Installation failed with message INSTALL_CANCELED_BY_USER.
- Installation failed with message INSTALL_CANCELED_BY_USER.
- Installation failed with message INSTALL_CANCELED_BY_USER.
- android 设备调试Installation failed with message INSTALL_CANCELED_BY_USER.
- 安装错误:Installation failed with message:INSTALL_CANCELED_BY_USER
- Android Studio在小米手机上安装apk时显示“Installation failed with message INSTALL_CANCELED_BY_USER.”的解决方式
- installation failed with message install_canceled_by_user应用安装失败
- installation failed with message install_canceled_by_user应用安装失败
- 小米手机测试安装失败Installation failed with message:INSTALL_CANCELED_BY_USER
- Android进行真机调试的时候出现“Installation failed with message INSTALL_CANCELED_BY_USER”
- JAVA 注解(Annotation)详解
- 安徽大学第九届大学生程序设计竞赛 网络预选赛
- MongoDB 聚合管道(一)(Aggregation Pipeline)
- 可配置路径的excel导出工具类
- 用 Docker 构建、运行、发布一个 Spring Boot 应用
- android studio问题:installation failed with message INSTALL_CANCELED_BY_USER
- 通过随机函数生成一个随机的数组
- linux命令大全(9)--tar命令详细用法
- Android在webview中实现js交互
- ARM跑快了 --- 时钟初始化
- 最全的常用正则表达式大全——包括校验数字、字符、一些特殊的需求等等
- 解析Impala架构
- 仿京东中购物车列表模块的实现【以及通过Builder的方式创建dialog弹窗 链式调用】
- 一次完整的 HTTP 请求与响应