PSI and index do not match: PSI and index do not match on Android Studio

Sam12 picture Sam12 · Mar 1, 2015 · Viewed 40.3k times · Source

Whenever I clean my project is says: PSI and index do not match What should I do?

Answer

Scott Barta picture Scott Barta · Mar 1, 2015

Important note: This will wipe the shelf, local history, and potentially other cached data.

File menu > Invalidate caches and restart. The PSI cache is one of the caches that are affected by this command, so this should fix it up.