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上的菜单,清除编译后才可以。


 一试果然解决。


目录
相关文章
|
9月前
ubunut16.04 make install 提示 makeinfo is missing on your system;
ubunut16.04 make install 提示 makeinfo is missing on your system;
104 2
|
资源调度 JavaScript Windows
yarn install命令报错解决办法-warning package-lock.json found.
yarn install命令报错解决办法-warning package-lock.json found.
376 0
npm run dev启动报错:Error: Cannot find module 'semver'
npm run dev启动报错:Error: Cannot find module 'semver'
251 0
|
5月前
|
资源调度
安装项目的时候老是报错:Command failed.
安装项目的时候老是报错:Command failed.
|
5月前
|
缓存 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报错
装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"问题记录
638 0
执行 mysqld --install 报错:Install Remove of the Service Denied
执行 mysqld --install 报错:Install Remove of the Service Denied
107 0
执行 mysqld --install 报错:Install Remove of the Service Denied
|
数据安全/隐私保护 开发者
npm install ,npm ERR code 401 Incorrect or missing password 错误原因与.npmrc 配置文件的使用
npm install ,npm ERR code 401 Incorrect or missing password 错误原因与.npmrc 配置文件的使用
npm install ,npm ERR code 401 Incorrect or missing password 错误原因与.npmrc 配置文件的使用
如何解决安装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