Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/227.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 在3.0.2版本中找不到牙签规则类_Android_Unit Testing_Testing_Sdk_Toothpick Di - Fatal编程技术网

Android 在3.0.2版本中找不到牙签规则类

Android 在3.0.2版本中找不到牙签规则类,android,unit-testing,testing,sdk,toothpick-di,Android,Unit Testing,Testing,Sdk,Toothpick Di,我将toothpicksdk版本从1.1.3更新为3.0.2。更新后,在牙签中的测试包下找不到牙签规则类。这导致测试用例失败。您需要包括以下依赖项: testImplementation 'com.github.stephanenicolas.toothpick:toothpick-testing-junit4:3.0.2' 它包含牙签规则 牙签的当前版本是3.1.0,因此您可能还需要更新它

我将
toothpick
sdk版本从
1.1.3
更新为
3.0.2
。更新后,在
牙签
中的测试包下找不到
牙签规则
类。这导致测试用例失败。

您需要包括以下依赖项:

testImplementation 'com.github.stephanenicolas.toothpick:toothpick-testing-junit4:3.0.2'
它包含
牙签规则

牙签的当前版本是3.1.0,因此您可能还需要更新它