Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot load project: Android Studio

My laptop crashed while Android Studio was running. Now, When I tried to open project in Android Studio it gives me weird error and no project is opening.

Cannot load project: java.lang.RuntimeException: java.io.IOException: java.lang.AssertionError: Unexpected content storage modification"**

Edit: Also I'm in the welcome screen of Android Studio and have no access to Menu options to Invalidate Caches and restart Android Studio.

like image 452
Crawler Avatar asked Nov 27 '22 09:11

Crawler


1 Answers

I had really big issue as I was not able to open project in Android Studio. Every time I start Android Studio dialog box appear that says:

Cannot load project: java.lang.RuntimeException: java.io.IOException: java.lang.AssertionError: Unexpected content storage modification

I solved it by doing following steps:

  1. Close Android Studio
  2. Go to the directory home_dir/.AndroidStudio/system/cache
  3. Remove all the files in the cache directory.
  4. Then restart IntelliJ
like image 158
Crawler Avatar answered Dec 16 '22 00:12

Crawler