Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Grigorij Schleifer
Grigorij Schleifer
10,365 Points

Gradle stores Log files on Mac

Dear community,

On my Mac:

Inside my Library folder there is a Log folder. There I can see AndroidStudio 1.4 / 1.5 / Beta and Preview folders. Inside this folders there are many subfolders called "threadDumps ...".

What for are this all folders?

Any idea is highly appreciated :)

Grigorij

1 Answer

Harry James
Harry James
14,780 Points

Hey Grigorij!

Thread dumps are log files that state everything that's going on with the program, on all of the threads it runs on. They're often used for debugging purposes, so that if you have an issue with Android Studio, you can send in your thread dump for analysis.

They're not vital to running the program, and I believe Android Studio would automatically clear up old thread dumps that it no longer needs, in order to save on storage space.


Hopefully this should help explain what the threadDumps are used for and if you have any more questions, feel free to give me a shout :)

Grigorij Schleifer
Grigorij Schleifer
10,365 Points

Hey Harry,

thank you for great explanation. Do you think I can delete the folders. I have 7 different with the same name...

Harry James
Harry James
14,780 Points

Hey Grigorij,

There should be no problem with deleting the folders, but I would just for safety's sake check the folders to see if they only contain dump/log files. If this is the case, you're good to go and you can delete the files without any issues.

Hope it helps :)