Gradle 5.0 - Cannot Find Symbol
Feb 22, 2019
Problem If you have recently attempted to upgrade your project to Gradle 5.x from the 4.x release, you may encounter something that looks like this:
symbol: method verify(View) location: class ExampleTests [FILE_PATH]:[LINE_NUMBER]: error: cannot find symbol verify(view).simpleTest(); ^ In the example above, verify() is a method from Mockito Core which is a transitive dependency we have access to through using Mockito Inline in our project. We have been using the dependency this way for quite a while, so why is it broken now?