Click here to Skip to main content
15,923,087 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm working on news android project using RSS feed, my app now can get title, description, time of news perfectly but one it come to image it shows me the following error:
Cannot resolve symbol 'PicassoClient'

this my code :
public class MyAdapter extends RecyclerView.Adapter<MyViewHolder> {

    Context c;
    ArrayList<Article> articles;

    public MyAdapter(Context c, ArrayList<Article> articles) {
        this.c = c;
        this.articles = articles;

    public MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        View v= LayoutInflater.from(c).inflate(R.layout.model,parent,false);
        return new MyViewHolder(v);

    public void onBindViewHolder(MyViewHolder holder, int position) {

        Article article=articles.get(position);

        String title=article.getTitle();
        String desc=article.getDescription();
        String date=article.getDate();
        String imageUrl=article.getImageUrl().replace("localhost","");



    public int getItemCount() {
        return articles.size();

this is my dependencies:
dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    testCompile 'junit:junit:4.12'
    // compile project(':picasso-2.5.2')
    compile 'com.squareup.picasso:picasso:2.5.2'
    compile ''
    compile ''
    compile ''

What I have tried:

compile 'com.squareup.picasso:picasso:2.5.0 version
I don't know what to do !!
Updated 19-Apr-18 22:33pm

1 solution

PicassoClient is not part of the Picasso[^] library.

It looks like you have copied code from somewhere and forgot to copy the PicassoClient implementation as well.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900