Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the location that gradle downloads dependency in Android Studio?

Where is the location that gradle downloads dependency in Android Studio?

How to find them?

like image 474
guo Avatar asked Jul 21 '16 08:07

guo


1 Answers

With my setup, I can find the files at the following location:

~/.gradle/caches/modules-2/files-2.1/

For example, Picasso artifacts were downloaded at the following location on Mac: emphasized text/Users/USER_NAME/.gradle/caches/modules-2/files-2.1/com.squareup.picasso/picasso/

This folder has three directories for .pom file, sources, and actual jar file.

This is not in project specific .gradle folder but is in the global .gradle cache instead.

like image 56
Aleon Q Avatar answered Oct 18 '22 20:10

Aleon Q