Androidstudio Create Tv-app, Error: (+) Failed to resolve:com.squareup.picasso:picasso:2.5.0 resolution

Source: Internet
Author: User

The first two days when you tried to write Tv-app, after you created a TV app using Androidstudio, the Gradle compilation appeared:

Error: (+) Failed to resolve:com.squareup.picasso:picasso:2.5.0 errors.

Baidu found Picasso package is an open-source Android Image enhancement tool for the square team, GitHub address: Https://github.com/square/picasso.


Go to the Chase:


1. Click on the Messages box, where the error message appears---Show in projectstructure Dialog enter projectstructure (other channels can also be accessed), click on the left column modules->  TV (my Project module named TV), click on the right side of the Dependencies, the com.squareup.picasso:picasso:2.5.0 line to delete, select right click->remove can be. Click OK.


2. When recompiling, an error was found in Videodetailsfragment.java:

Import Com.squareup.picasso.Picasso;
Import Com.squareup.picasso.Target; found that the corresponding package was not found.

Download Picasso-2.4.0.jar from GitHub or directly from the right-hand address: http://download.csdn.net/detail/u013647453/8433761

Copy Picasso-2.4.0.jar to the project's Libs folder, right-click the Add as library. Problem solving.



Androidstudio Create Tv-app, Error: (+) Failed to resolve:com.squareup.picasso:picasso:2.5.0 resolution

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.