当前位置:网站首页>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
边栏推荐
- [physical application] Wake induced dynamic simulation of underwater floating wind turbine wind field with matlab code
- SQL audit tool self introduction owls
- Dockler的基础用法
- Parity rearrangement of Bm14 linked list
- Pytest custom hook function
- Doxygen document generation tool
- Sword finger offer II 109. unlock the password lock
- Fundamentals of software testing and development | practical development of several tools in testing and development
- Cvpr21 unsupervised anomaly detection cutpaste:self supervised learning for anomaly detection and localization
- BM16 delete duplicate elements in the ordered linked list -ii
猜你喜欢

Understanding of PID

BLDC 6-step commutation simulink

Nips18(AD) - 利用几何增广的无监督异常检测《Deep Anomaly Detection Using Geometric Transformations》

6-20 vulnerability exploitation proftpd test

Application of time series database in monitoring operation and maintenance platform

From Bayesian filter to Kalman filter (zero)

Solve the critical path in FJSP - with Matlab source code
![[data analysis] realize SVDD decision boundary visualization based on MATLAB](/img/3b/72bb459a357f836b52aa79171d75fc.png)
[data analysis] realize SVDD decision boundary visualization based on MATLAB

Learn from Li Mu, deep learning - linear regression and basic optimization function

How many of the top ten test tools in 2022 do you master
随机推荐
BLDC 6步换相 simulink
JS 批量添加事件监听onclick this 事件委托 target currentTarget onmouseenter onmouseover
pytest 自定义HOOK函数
Asp net MVC web development tutorial
[image hiding] digital image information hiding system based on DCT, DWT, LHA, LSB, including various attacks and performance parameters, with matlab code
BM16 delete duplicate elements in the ordered linked list -ii
架构实战营第8模块作业
Server body 21: pre compilation processing by different compilers (a brief introduction to MSVC and GCC)
IMU heating
SaltStack之return与job管理
Libgdx learning road 02: draw game map with tiled
Application of time series database in bridge monitoring field
剑指 Offer II 109. 开密码锁
Get to know nodejs for the first time (with cases)
[filter tracking] target tracking based on EKF, TDOA and frequency difference positioning with matlab code
[physical application] Wake induced dynamic simulation of underwater floating wind turbine wind field with matlab code
[data analysis] realize SVDD decision boundary visualization based on MATLAB
Gmoea code operation 2 -- establishment and operation of operation environment
这种动态规划你见过吗——状态机动态规划之股票问题(下)
Fantasy 5 (ue5) game engine complete course 2022