I was trying to look for a list of version for android support library, and finally i found m2repository and support folders in android folder. What is that?
Asked
Active
Viewed 8,018 times
1 Answers
10
The m2repository
folder is a Maven repository which contains all the support libraries as AAR archives. This is what Gradle uses when you tell it that your project depends on these libraries.
The support
folder contains the same libraries, except they are structured as Android library projects with a library JAR and resources in the corresponding folders. You only need the support
folder if you use the old Ant-based build system.

Malcolm
- 41,014
- 11
- 68
- 91
-
Does that happen to mean that I have to add `mavenLocal()` to my `build.gradle` file to access the imports of `android.support.*`? – Lealo Dec 26 '17 at 02:06