According to a JetBrains employee doing the following will have the same effect:
- Shut down Android Studio externally (using
kill
or similar command), then - Delete
system/caches
directory (more on that later), and - Start the IDE again.
How to find system/caches
directory?
Location of the IDE files depends on the operating system, product and version.
-
For IntelliJ IDEA follow this guide.
So e.g. for
IntelliJ IDEA 2020.3
on macOS you should be looking for~/Library/Caches/JetBrains/IntelliJIdea2020.3/caches
directory -
For Android Studio follow the same guide as above but instead of
JetBrains
in the path useGoogle
So e.g. for
Android Studio 4.2
on macOS you should be looking for~/Library/Caches/Google/AndroidStudio4.2/caches
directory