Clear the system cache
- From the main menu, select File | Invalidate Caches.
- In the Invalidate Caches dialog, you can select additional actions that the IDE will perform while removing the cache files: ...
- Click Invalidate and Restart.
How do I invalidate a cache?
There are three specific methods to invalidate a cache, but not all caching proxies support these methods.
- Purge. Removes content from caching proxy immediately. ...
- Refresh. Fetches requested content from the application, even if cached content is available. ...
- Ban.
How do I invalidate cache and restart?
To clear Android Studio's cache and bring it out of its state of confusion, select 'File > Invalidate Caches / Restart' and then click the 'Invalidate and Restart' button. Clean and rebuild your project.