当前位置:网站首页>The application could not be installed: INSTALL_ FAILED_ TEST_ ONLY
The application could not be installed: INSTALL_ FAILED_ TEST_ ONLY
2022-06-12 05:48:00 【July stars】
Development platform
Android Studio
Error description
During real machine compilation, debugging and installation , Display installation failure . Note that if the compilation passes but the installation fails .
Error screenshots

Solution
First step :
stay Gradle Script Under the document gradle.properties Add the following sentence to the document android.injected.testOnly=false

Here, a prompt will pop up after modifying something ( As shown in step 4 ), Be sure to click Sync Now, Then wait for the progress bar below to finish . You can't run the program again until you finish it .

The second step :
stay app Under the manifests Under folder AndroidManifest.xml Add the following code under the file :android:testOnly="false"

Finally, rerun the code , After the code is compiled, the phone will pop up the installation page 
边栏推荐
- Introduction to redis high availability
- nus_ data_ Handler source code interprets data types such as structure
- Flex / fixed Upper, Middle and Lower (Mobile end)
- log4j 1. X upgrade to 2 Solution of X dependency incompatibility
- Reverse linked list
- Filter的注解配置
- Introduction to thread pool: ThreadPoolExecutor
- Towards End-to-End Lane Detection: an Instance SegmentationApproach
- tkinter使用WebView2网页组件(续篇)
- China embolic coil market trend report, technical innovation and market forecast
猜你喜欢

FPGA语法的细节

Golang idea configures the agent to improve the speed of packages downloaded by go get

Redis transaction

CCF noi2022 quota allocation scheme

16. sum of the nearest three numbers

Word frequency statistics using Jieba database

beginning一款非常优秀的emlog主题v3.1,支持Emlog Pro

What is the lszrz protocol used at ordinary times? Talk about xmodem/ymodem/zmodem

Beginning is an excellent emlog theme v3.1, which supports emlog Pro

Halcon 3D 1 Reading 3D data
随机推荐
虚函数与纯虚函数的关系
Flex/fixed upper, middle and lower (mobile end)
基于LFFD模型目标检测自动标注生成xml文件
Market trend report, technical innovation and market forecast of Chinese stump crusher
数据库实验二:数据更新
How does WiFi 802.11 correspond to 802.3
nRF52832自定義服務與特性
CODIS stress test (PHP)
Chapter 8 - structure
What is the lszrz protocol used at ordinary times? Talk about xmodem/ymodem/zmodem
IO stream introduction
Thesis reading_ Figure neural network gin
Filter的注解配置
Available RTMP and RTSP test addresses of the public network (updated in March, 2021)
Nature | make an account of the new crown casualties in the world
Conversion of Halcon 3D depth map to 3D image
WiFi band resources
Tkinter uses webview2 web component (sequel)
[gin] gin framework for golang web development
Mysql笔记