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.
Project will build, but the generated Java is having an error
I followed along with this course and the make a weather app course and its having an issue with the generated Java. I cannot find anything about my problem online and even made a second copy of my project and copy and pasted over the files from this course (excluding the com.treehouse over me email) and its still having an issue with the databinding folder. Here is a link to my github page with the project. https://github.com/csteitz01/Stormy-2/tree/master
Hi. I had a look at your GitHub repo. You just need to rename your "Weather" package "weather" (with a lower case) and it will compile. When your package name starts with an upper case letter, Android Studio will look for a class. So it's recommended to name your packages using lower case. Check Java's naming convention for packages here: https://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html. Your app will run but it's not finished. I've noticed a couple of errors that need fixing too, so the hourly data activity can show up. I'll be happy to help if you need to. Good luck!