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


 一试果然解决。

目录
相关文章
|
2月前
ubunut16.04 make install 提示 makeinfo is missing on your system;
ubunut16.04 make install 提示 makeinfo is missing on your system;
18 2
|
8月前
npm run dev启动报错:Error: Cannot find module 'semver'
npm run dev启动报错:Error: Cannot find module 'semver'
162 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]
执行 mysqld --install 报错:Install Remove of the Service Denied
执行 mysqld --install 报错:Install Remove of the Service Denied
79 0
执行 mysqld --install 报错:Install Remove of the Service Denied
如何解决安装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
|
域名解析 Kubernetes 开发工具
执行yum install ntpdate ‐y报错Could not resolve host: download.example; 未知的名称或服务
执行yum install ntpdate ‐y报错Could not resolve host: download.example; 未知的名称或服务
541 0
|
Android开发
INSTALL_FAILED_TEST_ONLY的解决办法
INSTALL_FAILED_TEST_ONLY的解决办法
114 0
解决办法:configure: error: C compiler cannot create executables错误
解决办法:configure: error: C compiler cannot create executables错误
469 0
|
jenkins Linux 持续交付
debian : root exec npm install throw err
npm cli 参数 npm unsfae-perm , npm install unsafe-perm 官方的说明就是若是以 root 用户来执行unsafe-perm默认为 false,反之开启。 而我们 Linux 上的用户更多的是用 sudo 来临时赋予管理员的权限,用户有时候走 nobody,有时候走自定义的用户。
97 0
dpkg-buildpackage: error: fakeroot not found, either install the fakeroot
dpkg-buildpackage: error: fakeroot not found, either install the fakeroot
306 0