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.

Android Build a Self-Destructing Message Android App Sending Messages Adding a File to the Message: Part 2

Tom Wierman
Tom Wierman
3,002 Points

Cannot Resolve Symbol IOUtils

I added the FileHelper.java and ImageResizer.java files . Then added the commons-io-24.jar file.

The line: import org.apache.commons.io.IOUtils;

claims it is unused and an error shows up where the IOUtils object is used.

Tom Wierman
Tom Wierman
3,002 Points

I closed Android Studio last night and this morning the IOUtils is recognized. I am not sure what could have been done at the time I added the file (copied in), but there is an option to sync the file. That may be the ticket.