当前位置:网站首页>Failed to install app-debug.apk: Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]
Failed to install app-debug.apk: Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]
2022-07-28 17:34:00 【Alex_designer】
使用adb 安装android studio生成的app-debug.apk包时抱以下错误
adb install D:\app\android\project\DVR\app\build\outputs\apk\debug\app-debug.apk
Failed to install D:\app\android\project\DVR\app\build\outputs\apk\debug\app-debug.apk: Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]
解决办法:
添加-t参数: 输入命令adb install -t app-debug.apk
adb install
-l :锁定应用程序
-t :允许测试包
-d :允许降级覆盖安装
-p :部分应用安装
-g :为应用程序授予所有运行时的权限
以下可以一次授予所有运行时的权限
adb install -t -g app-debug.apk
边栏推荐
- JS preventDefault() 键盘输入限制 onmousewheel stopPropagation停止事件传播
- 这种动态规划你见过吗——状态机动态规划之股票问题(下)
- SRS4.0安装步骤
- Pointer learning of C language -- the consolidation of pointer knowledge and the relationship with functions, arrays and structures
- Accumulation and development -- the way of commercialization of open source companies
- Jestson nano Object detection
- DevCon. Exe export output to the specified file
- Image processing web application development tutorial
- Update of objects in ES6
- 一家芯片公司倒在了B轮
猜你喜欢

软件测试开发基础|测开中的几个工具开发实战

GPIO port configuration of K60

Prometheus部署

智能合约安全——溢出漏洞

Pytorch:交叉熵损失(CrossEntropyLoss)以及标签平滑(LabelSmoothing)的实现

Cv5200 wireless WiFi communication module, wireless video image transmission, real-time wireless communication technology

使用Xilinx MIG验证硬件DDR设计

Qt: one signal binds multiple slots
![[physical application] Wake induced dynamic simulation of underwater floating wind turbine wind field with matlab code](/img/31/e4cd4c261a7fc5cfa731976314530b.png)
[physical application] Wake induced dynamic simulation of underwater floating wind turbine wind field with matlab code

Powerbi time series analysis, prediction and visualization tutorial
随机推荐
CVPR19 - 调参干货《Bag of Tricks for Image Classification with Convolutional Neural Network》
New this prototype precompiled exercise
An intern's journey to cnosdb
这种动态规划你见过吗——状态机动态规划之股票问题(下)
SaltStack配置管理
当CNN遇见Transformer《CMT:Convolutional Neural Networks Meet Vision Transformers》
SRS4.0安装步骤
Qt: one signal binds multiple slots
Application value of MES production management system to equipment
可转债概念表 x Notion 给你方便快捷的体验!
JDBC简单封装
使用百度EasyDL实现明厨亮灶厨师帽识别
ICLR21(classification) - 未来经典“ViT” 《AN IMAGE IS WORTH 16X16 WORDS》(含代码分析)
JS modify table font and table border style
Dockler的基础用法
VAE:变分自编码器的理解与实现
R语言与数据分析实战11-数据的删除
Pytoch: implementation of crossentropyloss and labelsmoothing
SaltStack入门
ACM warm-up exercise 3 in 2022 summer vacation (detailed)