Search code examples
androidandroid-studiopicasso

Can not see new version of Picasso library on android studio


When I go to android studio and add I only see com.squareup.picasso:picasso:2.3.2 Project Structure -> Dependencies -> com.squareup.picasso:picasso:2.3.2.

How can I add the latest version like 2.5.2?

com.squareup.picasso:picasso:2.3.2 version looks buggy. Cant load any of the images on SD card.

Thanks


Solution

  • Open your build.gradle file and add:

    compile 'com.squareup.picasso:picasso:2.5.2' on the dependencies section.

    Square's Picasso has the latest version and instructions in their github page

    If you're using the GUI of the you can just select the library you wish to remove and click on the - sign on the bottom left corner (disabled in the picture)

    enter image description here

    Then you select the + to add a new library, choose Library Dependency and put the latest picasso version like so

    enter image description here

    Should be on the bottom of the list now... I suggest you rebuild your project afterwards.