After an Android Studio's Invalidate Cache and rebuild the project, Picasso is getting an error, and cannot find the get() method.
The full error message is just "error: cannot find symbol method get()".
My build.gradle:
implementation 'com.squareup.picasso:picasso:2.71828'
and the code that i'm using:
import com.squareup.picasso.Picasso;
// rest of the code
Picasso.get()
.load(user.getImage())
.error(R.drawable.img_standard)
.into(bannerImageView);
// ...
I saw a similar issue with the old method, Picasso.with(), but the get() method I cannot find a solution. Thanks!
It's usually a good idea after a cache invalidation to do a gradle sync and wait for Android Studio to finish the reindexing. After these, do a build, this should fix the problem in most cases.