Aman Aman - 2 years ago 86
Android Question

How to use the downloaded support library?

I have downloaded Android support library 23.2.1. I want to use only it's design support because I already had the rest. But the design folder contains only a jar file, 2 folders res and res-public and a AndroidManifest.xml. How can I use them in my project in Android Studio?

Answer Source

You just have to update your Android Support Repo in your SDK Manager, and then add the design library as a dependency in your build.gradle file:

dependencies {
    compile ''

If you would like to add downloaded .jar files, you can do it like this:

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])

This will include all .jar files from your project's libs directory.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download