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 Build a Simple Android App Creating the Screen Layout Editing a Layout File

Nikhil Sharma
Nikhil Sharma
1,173 Points

gradle sync error

Error:A problem occurred configuring project ':app'.

Could not resolve all dependencies for configuration ':app:_debugUnitTestApkCopy'. Could not resolve junit:junit:4.12. Required by: FunFacts2:app:unspecified > Could not resolve junit:junit:4.12. > Could not get resource 'https://jcenter.bintray.com/junit/junit/4.12/junit-4.12.pom'. > Could not GET 'https://jcenter.bintray.com/junit/junit/4.12/junit-4.12.pom'. > Connect to jcenter.bintray.com:443 [jcenter.bintray.com/75.126.118.188, jcenter.bintray.com/108.168.243.150] failed: Connection timed out: conn

Ben Deitch
Ben Deitch
Treehouse Teacher

This sounds like it was trying to find a dependency online, and then the connection timed out. We're you maybe not connected to the internet while running the project?