Issue
I would like to know some facts about android studio.
If we use like this compile 'com.android.support:appcompat-v7:24.1.1'
in gradle file, then how/when android studio downloads the library and store it in where?
Also how to change the default location of library download?
Solution
The android default libraries like appcompact, design support libraries are stored in your folder where you have installed the SDK, precisely <SDK FOLDER>/extras/android/m2repository/com/android
.
The 3rd party libraries are stored in .gradle/caches/modules-2/files-2.1
folder.
The gradle folder is hidden. In linux you can find it in your home directory by pressing ctrl+h
which helps to view hidden files and folder.
In windows it is present at C:\Users\UserName\.gradle
e.g if you are using butterknife library then in above path there will be a folder get created as com.getkeepsafe.relinker
, inside that folder you will find its related folders and files, .aar
or .jar
files.
Hopes this clears your question.
Answered By - Ichigo Kurosaki
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.