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

Can't run the project in android stdio

After some update broke my student project I downloaded the instructor project file in an attempt to complete my class. When I tried to run it in Android studio I get this message...

10:05:35 PM Load Settings Cannot load settings from file 'C:\Users\whitn_000\AndroidStudioProjects\FunFacts.idea\workspace.xml': Error on line 1: Content is not allowed in prolog. Please correct the file content 10:05:38 PM Migrate Project to Gradle? This project does not use the Gradle build system. We recommend that you migrate to using the Gradle build system. More Information about migrating to Gradle Don't show this message again.

1 Answer

Try this: On a Mac, I found File > Invalidate Caches/Restart did the trick.