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!
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
Arshdeep Singh6,576 Points
How do I handle the update to the Gradle on Github?
In the video, we are told do get "compile 'com.squareup.okhttp:okhttp:2.1.0'" but this is not what is currently on GitHub.
GitHub has the following: "testCompile 'com.squareup.okhttp:mockwebserver:2.4.0'" This starts with testCompile rather than compile like in the video.
What is the difference between the two? And how would I handle them?
Jacob Bergdahl29,118 Points
Use "compile 'com.squareup.okhttp:okhttp:2.4.0'", which can be found on https://github.com/square/okhttp. You scrolled too far down.