Cannot resolve symbol 'Weather' error in ActivityMainBinding.Java
At the end of this video, I received an the Cannot resolve symbol 'Weather' in the ActivityMainBinding.java class. In that class, the error occurs while importing com.teamtreehouse.stormy.Weather, where Weather is the new folder created. I also noticed that the ActivityMainBinding.java class is under the path app>generatedJava>com.teamtreehouse.stormy.databinding while the Weather folder is under app>java>com.teamtreehouse.stormy. I suspect that the import statement in ActivityMainBinding.java is looking for Weather in the wrong directory since com.teamtreehouse.stormy exists in multiple places.
michael lee5,173 Points
I solved the problem by refactoring and rename the Weather package to "weather", with a lower case w. try it and see if it helps. and if it does work, i don't know the reason, haha