当前位置:网站首页>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
边栏推荐
- Swing事件处理的过程是怎样的?
- Powerbi time series analysis, prediction and visualization tutorial
- Using CPLEX to solve small-scale energy-efficient FJSP
- BLDC 6-step commutation simulink
- The mystery of ID number
- SaltStack进阶
- Cvpr19 - adjust reference dry goods bag of tricks for image classification with revolutionary neural network
- JS preventDefault() 键盘输入限制 onmousewheel stopPropagation停止事件传播
- Jestson nano Object detection
- Application of time series database in Hydropower Station
猜你喜欢

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

Application value of MES production management system to equipment

BLDC 6-step commutation simulink

Swing事件处理的过程是怎样的?

【已解决】AC86U ML改版固件虚拟内存创建失败,提示USB磁盘读写速度不满足要求

ACM warm-up exercise 3 in 2022 summer vacation (detailed)

关于白盒测试,这些技巧你得游刃有余~

Libgdx learning path 01: libgdx introduction and running tutorial

Pytoch: implementation of crossentropyloss and labelsmoothing

As for the white box test, you have to be skillful in these skills~
随机推荐
SaltStack之salt-ssh
Share several coding code receiving verification code platforms, which will be updated in February 2022
Parity rearrangement of Bm14 linked list
VAE:变分自编码器的理解与实现
JDBC simple encapsulation
pytest 自定义HOOK函数
机器学习 --- 模型评估、选择与验证
Accumulation and development -- the way of commercialization of open source companies
这种动态规划你见过吗——状态机动态规划之股票问题(下)
JS modify table font and table border style
JS 批量添加事件监听onclick this 事件委托 target currentTarget onmouseenter onmouseover
IMU 加热
Dockler的基础用法
VAE: understanding and implementation of variational self encoder
使用SaltStack自动化部署Zabbix
2022年中总结
可转债概念表 x Notion 给你方便快捷的体验!
Avoidance Adjusted Climbrate
C语言循环语句强化练习题
架构实战营第8模块作业