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 trialChristopher Steitz
29,749 PointsProject 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
1 Answer
Lauren Moineau
9,483 PointsHi. 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!