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 trial

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.