Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Wen 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.