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 trialKris Ruiz
259 PointsI am having trouble with starting the funfact app on the emulater
This error keeps showing up and i need help please.
Error:(10, 21) Resource id cannot be an empty string (at 'id' with value '@+id/').
aakarshrestha
6,509 Pointsaakarshrestha
6,509 PointsHi, It is not required to have an id for everything. Try removing the line from the xml file (such as activity.xml) and running it in the emulator again. But it is a good practice to provide ids. or just add an id like "@+id/add_id_here"
Hope it works out for you.
Happy coding!