我正在使用Espresso进行仪器测试并在Android Preview P Emulator上运行它们.我在我的测试类中有5个测试用例,其中一个测试在运行测试套件时失败并得到以下错误.
检测到API兼容性问题
失败的测试用例是在单独运行而不是在套件中运行时.
由于对话框显示在显示的视图上Detected problems with API compatibility,因此在层次结构异常中找不到匹配的视图以及上述错误.
Detected problems with API compatibility
android android-espresso android-9.0-pie
android ×1
android-9.0-pie ×1
android-espresso ×1