Android studio 3.5 cannot resolve mockito imports ...
# android
t
Android studio 3.5 cannot resolve mockito imports though it compiles. How can I resolve this? I have tried all possible options like invalidating cache, restart, delete .gradle amd .idea etc
n
gradle sync doesn’t help?
r
./gradlew clean assmbleDebug will probably fix it
Do the test past
Also make sure your adding your dependency with testImplementation
t
@no no it doesn’t help
@rkeazor I will check and try your suggestions.. thanks
No luck, some of the tests started failing strangely..
r
Upgrade Mockito to latest version. Fixed the issue for me
t
Wow.. that resolved it for me thanks