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.

EDGAR SCHMID
8,171 PointsCan't move files to UI package
Hi! Im trying to move de AlertDialogFragment and MainActivity and the following error appears:
Problems detected: Field MainActivity.mProgressBar will be inaccessible from method MainActivity$$ViewBinder.bind(Finder, T, Object) Field MainActivity.mProgressBar will be inaccessible from method InnerUnbinder.unbind(T) Field MainActivity.mRefreshImageView will be inaccessible from method MainActivity$$ViewBinder.bind(Finder, T, Object) Field MainActivity.mRefreshImageView will be inaccessible from method InnerUnbinder.unbind(T) Field MainActivity.mTemperatureLabel will be inaccessible from method MainActivity$$ViewBinder.bind(Finder, T, Object) Field MainActivity.mTemperatureLabel will be inaccessible from method InnerUnbinder.unbind(T) Field MainActivity.mTimeLabel will be inaccessible from method MainActivity$$ViewBinder.bind(Finder, T, Object) Field MainActivity.mTimeLabel will be inaccessible from method InnerUnbinder.unbind(T)
2 Answers

Philip Gales
15,193 PointsAs long as you follow the video and drag it into the new package I would click out of the error. Android studio may show you an error not in the video if you are using a newer video. I skipped the error and everything worked for me.

Kien Doan
17,491 PointsSkip the error by clicking the Refactor button. Once the errors are prompted in Gradle console, click on "Do Refactor." The files will be moved successfully.