Android 测试协调器:com.android.ddmlib.InstallException:-26
Android Test Orchestrator: com.android.ddmlib.InstallException: -26
启动 androidConnectTests 时收到错误消息:
caused by: com.android.ddmlib.InstallException: -26 Package androidx.test.services new target SDK 14 doesn't support runtime permissions and old target does
启用 Android Test Orchestrator 后开始发生这种情况。
您需要卸载任何旧版本androidx.test.services
adb uninstall androidx.test.services
然后你需要确定你使用的是 latest version of androidx-test.
请参阅这些说明以设置最新版本的 Android Test Orchestrator。
https://developer.android.com/training/testing/junit-runner#using-android-test-orchestrator
启动 androidConnectTests 时收到错误消息:
caused by: com.android.ddmlib.InstallException: -26 Package androidx.test.services new target SDK 14 doesn't support runtime permissions and old target does
启用 Android Test Orchestrator 后开始发生这种情况。
您需要卸载任何旧版本androidx.test.services
adb uninstall androidx.test.services
然后你需要确定你使用的是 latest version of androidx-test.
请参阅这些说明以设置最新版本的 Android Test Orchestrator。 https://developer.android.com/training/testing/junit-runner#using-android-test-orchestrator