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 Simple Android App (2014) Coding the Fun Facts Properties of Arrays

Could not save application settings: java.io.IOException: java.lang.AssertionError: Unexpected content storage modificat

i have a message saying "Could not save application settings: java.io.IOException: java.lang.AssertionError: Unexpected content storage modification" when running the apps. Anybody have an idea how to fix this?

1 Answer

Steven Williams
Steven Williams
7,333 Points

I ran into this issue as well. My system keeps having issues, it seems to be that Avast (antivirus) likes to scan the Gradle processes while building apps. Normally it happens when I try to build and run an emulator, then when I disable Avast the process resumes. This time, my computer locked up, and when I went to load any projects, I got the "Unexpected content storage modification" error.

I found a fix, and all it took was renaming/deleting the .AndroidStudio hidden folder in Windows, under your home directory. C:\Users\YOURUSERNAME.AndroidStudio. I renamed mine and I'm back up and running.