Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove old AndroidStudio Cache folders - OSX

Hi I notice that I have large folders <1Gb from AndroidStudio on Libraries/Cache OSX 10.9

The folders are:

  • AndroidStudio
  • AndroidStudio1.3
  • AndroidStudioBeta
  • AndroidStudioPreview1.3
  • AndroidStudioPreview1.4

I'm using AndroidStudio 1.4 beta 4 currently

Can I safe delete some of these cache folders? Do you know what would be the proper manner to do it?

like image 888
rubdottocom Avatar asked Oct 17 '15 09:10

rubdottocom


People also ask

Can I delete Android studio cache?

If the user needs to delete any library cache of a project, they have to traverse through the . gradle/cache/modules-2/files-2.1 and . gradle/cache/modules-2/metadata-x.

Can I delete all cache folders on Mac?

Is it safe to delete Mac caches? It's good to be careful about deleting stuff from your Mac, but it's generally safe to remove cached data. You shouldn't run into any major issues if you delete cached files from system-level (/Library/Caches/) and user-level folders (~/Library/Caches/).

Can I delete Gradle Caches folder?

The . gradle/caches directory holds the Gradle build cache. So if you have any error about build cache, you can delete it.

Can I delete user cache files?

Android works in the same way as iPhone when it comes to deleting cached data. You'll need to specifically find an app under your settings to delete the cached data.


2 Answers

It's safe generally,

The cache in /System/Library/Caches is useful for system but the cache in ~/Library/Caches are not that useful.

Deleting everything at once is not recommended. But if you want to delete specific file remove it manually

like image 58
Ankit Sinha Avatar answered Oct 04 '22 21:10

Ankit Sinha


It does not need this. You just delete the cache once on the new version. Of course, if you do not see it, there's no problem.

Choose File | Invalidate Caches/Restart.

like image 27
Mersad Nilchy Avatar answered Oct 04 '22 21:10

Mersad Nilchy