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