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 (retired 2014) Getting Started with Android Android Setup and the Crystal Ball Project

Jongmu Oh
Jongmu Oh
583 Points

activity_main.xml and fragment_main.xml do not generate.

I followed the steps as accurately as possible (using Windows version. Had to also read Android Developer Guide), but it does not generate the two xml files as shown on the video. It does create activity_main.xml if I create an empty project instead though. Assistance is appreciated.

2 Answers

maybe something is wrong with your android bundle. Have you tried to download Android development bundle listed below the video? i followed the guide in video step by step and everything works just fine.

Jongmu Oh
Jongmu Oh
583 Points

Thank you for the reply, Lukas. Not sure if it's bugged due to recent L preview update or anything, but so what I did is I separately downloaded Eclipse and SDK, put them together separately instead of using ADT bundle and now it seems to work. Later I should also try downloading suggested bundles.

Have you recently updated to latest ADT 23.0.0 . Then you are not alone this is a bug in the new ADT and many users are facing the issue. Google has still to come up with a fix for this. Except create empty project all other selected project types do not generate any auto code

More on Google Code Forum

Jongmu Oh
Jongmu Oh
583 Points

Hi, Gunjeet. Thank you for the reply. Wow, yes you're correct. This is exactly what I was going through as I downloaded the latest 23.0.0 This was extremely frustrating as I'm new to coding and android environment. I spent at least six hours last night what was wrong.