Failure [INSTALL_FAILED_TEST_ONL
-
Android Studio编译后安装进手机时,出现如下错误:
错误报告
- 有几种解决办法:
- AndroidMainfest.xml中设置了apk属性为testOnly, 把它参数改为false或者直接删掉即可.
<appliaction
...
android:testOnly="false"
...>
....
</application>
- AndroidMainfest.xml中设置了
android:sharedUserId="android.uid.system"
把它删掉即可
删除该语句
dependencies {
classpath 'com.android.tools.build:gradle:3.1.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
本文标题:Failure [INSTALL_FAILED_TEST_ONL
本文链接:https://www.haomeiwen.com/subject/tpkopftx.html
网友评论