INSTALL_FAILED_TEST_ONLY的解决办法

简介: INSTALL_FAILED_TEST_ONLY的解决办法

今天说版本有问题。手动安排,看到出现INSTALL_FAILED_TEST_ONLY的错误提示。


 网上一查,说有三个可能:


android:testOnly="true"


gradle用了测试版本:classpath 'com.android.tools.build:gradle:2.2.0-alpha3'


使用install -t(这个不能真正解决问题)



 后来有人讲:


 必须通过Android Studio上的菜单,清除编译后才可以。


 一试果然解决。

目录
相关文章
|
资源调度 JavaScript Windows
yarn install命令报错解决办法-warning package-lock.json found.
yarn install命令报错解决办法-warning package-lock.json found.
316 0
|
2月前
|
缓存 Python
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-npf9报错
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-npf9报错
|
5月前
|
网络协议 Linux 虚拟化
CentOS 8 错误: Error setting up base repository
CentOS 8 错误: Error setting up base repository
163 2
|
数据可视化 Python
常见的bug---5、在安装superset时候报错,Command “python setup.py egg_info“ failed with error code 1
常见的bug---5、在安装superset时候报错,Command “python setup.py egg_info“ failed with error code 1
|
JavaScript 内存技术
使用nvm时报错:exit status 1: ļ Ѵ ʱ ޷ ļ 的解决办法
使用nvm时报错:exit status 1: ļ Ѵ ʱ ޷ ļ 的解决办法
392 0
装R包(package)error:(as ‘lib’ is unspecified)installation of package had non-zero exit status]
装R包(package)error:(as ‘lib’ is unspecified)installation of package had non-zero exit status]
|
Python
解决"easy_install command not found"问题记录
解决"easy_install command not found"问题记录
593 0
如何解决安装hexo init blog 时,出现WARN Failed to install dependencies. Please run ‘npm install‘ in “E:\tests
如何解决安装hexo init blog 时,出现WARN Failed to install dependencies. Please run ‘npm install‘ in “E:\tests
如何解决安装hexo init blog 时,出现WARN Failed to install dependencies. Please run ‘npm install‘ in “E:\tests
|
Android开发
INSTALL_FAILED_TEST_ONLY的解决办法
INSTALL_FAILED_TEST_ONLY的解决办法
131 0