android - 即使删除应用程序后仪器仍会显示

标签 android android-gradle-plugin android-testing android-instrumentation

即使删除应用程序后,当我尝试时,仪器测试似乎也会显示:

adb shell pm list instrumentation

我什至尝试重新启动手机。

如何手动删除仪器测试?

最佳答案

从 gradle 中,您可以使用以下方法卸载应用程序和仪器测试:

./gradlew uninstallAll

关于android - 即使删除应用程序后仪器仍会显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25853819/

相关文章:

java - 使用仪器框架进行单元测试时出错

Android Lollipop 在完成后调用 onCreate()

android - 为版本 : Proguard config 生成签名的 apk 时出错

android-studio - Android Studio 2 Beta 5 中的构建变体中测试工件选择器丢失/消失

android - commons-logging 定义了与 Android Studio 更新后 Android 现在提供的类冲突的类

android - 使用 UI 测试用例在 android studio 中运行测试

android - android volley 中的 NoConnectionError

android - 针对 Android 客户端请求优化 apache 和 mysql

android - '错误 : Duplicate resources' after updating Google Open Source Notices to 0. 9.2

内容为CountDownTimer类的Android单元测试方法