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 (2014) Getting Started with Android Creating the Fun Facts Project

Cannot run the Fun Facts project, Gradle failed to sync. I couldn't find answers to similar problems in the forum.

I cannot run the project (Fun Facts) after following all the steps. Error message, Gradle project sync failed. Cannot find answers to similar problems in forum. Could anyone help please?

2 Answers

Hey David,

If you didn't find and answer this worked for me...

On line 16 of the build.gradle replace "runProguard true" with "minifyEnabled true"

Then Save, Clean and rebuild. You'll get a message that it will update the language. Allow it to rebuild. It should then be good to go. Good luck!

Joel

Michael Lee
Michael Lee
2,541 Points

That worked for me. How did you figure that out?

This worked--thank you!!

Could you provide a screenshot of the error

Also check if this link is of any help StackOverflow Gradle Error Help

I found the problem was on the internet connection. But thanks for the reply.