I use gradle with my android project. The sdk version is 24 but with the 23 i have the same problem. I put
testCompile 'org.mockito:mockito-core:1.10.19'
jcenter()
And the imports related to are not resolved. But AndroidJUnit4 is resolved
[to see the problem click here][1] (with or without static it doesn't change)
my gradle files : gradle1 gradle2
Thank you