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
no
09/03/2019, 7:46 PM
gradle sync doesn’t help?
r
rkeazor
09/04/2019, 1:12 AM
./gradlew clean assmbleDebug will probably fix it
Do the test past
Also make sure your adding your dependency with testImplementation
t
tjohnn
09/04/2019, 6:11 AM
@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
roshanpisharody
09/05/2019, 2:16 PM
Upgrade Mockito to latest version. Fixed the issue for me