当前位置:网站首页>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
边栏推荐
- Asp net MVC web development tutorial
- Get to know nodejs for the first time (with cases)
- Cvpr21 unsupervised anomaly detection cutpaste:self supervised learning for anomaly detection and localization
- Sudo rosdep init error: cannot download default
- Efficiency comparison of JS array splicing push() concat() methods
- Application of time series database in museum environment detection
- Parity rearrangement of Bm14 linked list
- BLDC 6步换相 simulink
- Srs4.0 installation steps
- Rust 入门指南(modules 和工程结构)
猜你喜欢
![[data analysis] realize SVDD decision boundary visualization based on MATLAB](/img/3b/72bb459a357f836b52aa79171d75fc.png)
[data analysis] realize SVDD decision boundary visualization based on MATLAB

From Bayesian filter to Kalman filter (zero)

Application of time series database in museum environment detection

Bm11 list addition (II)

BM14 链表的奇偶重排

Application of time series database in cigarette factory

Qt: one signal binds multiple slots

使用SaltStack自动化部署LNMP

Streamlit machine learning application development tutorial

Learn from Li Mu in depth -softmax return
随机推荐
Random finite set RFs self-study notes (6): an example of calculation with the formula of prediction step and update step
C语言循环语句强化练习题
Adobe Flash player 34.0.0.92 and available version modification methods (2021-01-23
Gmoea code operation 2 -- establishment and operation of operation environment
Libgdx learning road 02: draw game map with tiled
BM14 链表的奇偶重排
第一次写博客
Pytorch:快速求得NxN矩阵的主对角线(diagonal)元素与非对角线元素
顺序线性表——课上练
Photoshop web design practical tutorial
6-20 vulnerability exploitation proftpd test
UWB module realizes personnel precise positioning, ultra wideband pulse technology scheme, and real-time centimeter level positioning application
Avoidance Adjusted Climbrate
Pytest custom hook function
Understanding of PID
Learn from Li Mu, deep learning - linear regression and basic optimization function
Time waits for no man. The rise of TSDB is at the right time
[image segmentation] vein segmentation based on directional valley detection with matlab code
搜索问题与技术
Avoidance Adjusted Climbrate