NPE when calling MockitoAnnotations.initMocks() in AndroidTestCase

前端 未结 4 1801
耶瑟儿~
耶瑟儿~ 2021-01-04 09:04

Trying to use mockito in my AndroidTestCase. I added the dependencies to the build.gradle:

final DEXMAKER_VERSION = \'1.2\'

dependencies {
    // ...
    an         


        
4条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-04 09:57

    Its a bug in dexmaker for which I have submitted a fix: https://github.com/crittercism/dexmaker/pull/24

提交回复
热议问题