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 trialWen Yu Wang
13,749 PointsThe emulator is not working :(
The console shows "[2014-05-11 04:42:58 - CrystalBall] Error in an XML file: aborting build."
1 Answer
Ben Jakuben
Treehouse TeacherThe XML files are the layout files. Can you copy the entire contents of your activity_main.xml file and paste it in here? Don't worry about formatting...I'll edit it and make sure it shows. Or take a look at the Markdown Cheatsheet below for tips on posting code.
Wen Yu Wang
13,749 PointsWen Yu Wang
13,749 PointsThank you so much for your help !!! :)
Ben Jakuben
Treehouse TeacherBen Jakuben
Treehouse TeacherOkay! Your code looks good, so it must be something else. Do you get any other error indicators about which file it might be? It could be an error in another XML file, like AndroidManifest.xml or strings.xml, or perhaps even an error in a file name.