Reputation: 253
I am developing an application with Android Studio, but I have a problem. I must always delete the cache of the IDE (Invalidate/Caches restart) for each compilation.
How do you configure your IDE for avoid this problem ?
Thank in advance,
Upvotes: 2
Views: 12988
Reputation: 30662
It looks like that the actual problem is why you have to clean the cache on every compilation. You don't need to clean the cache on every compilation.
However, the current version of the doc tells that the cache can become overloaded and cause problems:
IntelliJ IDEA caches a great number of files, therefore the system cache may one day become overloaded. In certain situations the caches will never be needed again, for example, if you work with frequent short-term projects. Also, the only way to solve some conflicts is to clean out the cache.
PS At the same time, @yole tells that There is no such thing as the IntelliJ IDEA cache being overloaded.
Upvotes: 1