NullPointer Exception when using Espresso

前端 未结 5 999
孤独总比滥情好
孤独总比滥情好 2021-01-19 16:58

I\'m trying to use Espresso. But I got this error and I have no if I\'m missing some codes.

any thoughts will be highly appreciated.

error log:



        
5条回答
  •  臣服心动
    2021-01-19 17:38

    You are missing a GoogleInstrumentationTestRunner entry in your manifest. After that, make sure to configure your tests to run through GITR. See instructions here: https://code.google.com/p/android-test-kit/wiki/Espresso#Espresso_Setup_Instructions

提交回复
热议问题