Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Google Play Services Interacting with Your API Interacting with Retrofit

George Sideris
PLUS
George Sideris
Courses Plus Student 3,712 Points

compile 'com.squareup.retrofit2:retrofit:2.1.0'

When i create the Etsy.java and fix the method that you describe in video the retrofit doesn't import the RestAdapter ...

3 Answers

Timothy Boland
Timothy Boland
18,237 Points

Yes, this project uses RetroFit1...but you are attempting to use RetroFit2 where the API has been completely revamped.

For your learning purposes....i would recommend downgrading to Retrofit1 by updating your build.gradle to:

compile 'com.squareup.retrofit:retrofit:1.9.0'

Then when you complete the project and have an understanding how RetroFit works....then look into updating your project to the latest retrofit.

These videos definitely need a serious update.