I'm using Android Studio to develop android apps recently and most differently from Eclipse
, it uses gradle as build tools. Gradle
is really handy of course, I don't need to download jar and put it into libs folder anymore, gradle
will download all dependencies i need for me and cache them in my laptop. For exmaple, OkHttp
cache file will be somewhere like this:
C:\Users\tony\.gradle\caches\modules-2\files-2.1\com.squareup.okhttp\okhttp\2.6.0\212387a39088ecd3daff8e3bfc3bdc4123e33c67
Now I'm just confused about the final part. What does the directory means named as 212387a39088ecd3daff8e3bfc3bdc4123e33c67
. How does gradle
generating it and the generating rules? Cause i found when i copy the cache files to another laptop it won't work. Gradle
will download all of them again and generate another random directory name. Hope someone can help me. Thanks a lot!