Manually add support dependency library inside Android Studio project gradle file

Easiest step by step method to automatically import support libraries into android project using build.gradle ( Module : app ) file.

What is build.gradle ( Module : app ) file : This is one of the most important file inside every android project developed using Android Studio. This file contains all the basic information about the project like compileSdkVersion, buildToolsVersion, minSdkVersion, targetSdkVersion, versionCode, versionName, dependencies etc. But one of the major task that this file do is to gives us the facility to import support libraries into our project by adding their name with compile keyword. So here is the complete step by step tutorial for Manually add support dependency library inside Android Studio project gradle file.

List of inbuilt support library that you can add directly into your project via this file:

  1. com.android.support:support-annotations:23.4.0
  2. com.android.support:support-v4:23.4.0
  3. com.android.support:support-v13:23.4.0
  4. com.android.support:appcompat-v7:23.4.0
  5. com.android.support:design:23.4.0
  6. com.android.support:gridlayout-v7:23.4.0
  7. com.android.support:mediarouter-v7:23.4.0
  8. com.google.android.gms:play-services:9.0.1
  9. com.google.android.gms:play-services-ads:9.0.1
  10. com.google.android.gms:play-services-wearable:9.0.1
  11. com.google.android.gms:play-services-maps:9.0.1
  12. com.android.support:cardview-v7:23.4.0
  13. com.android.support:palette-v7:23.4.0
  14. com.android.support:recyclerview-v7:23.4.0
  15. com.android.support:leanback-v17:23.4.0
  16. com.google.android.support:wearable:1.4.0
  17. com.google.code.gson:gson:2.2.4
  18. joda-time:joda-time:2.3
  19. com.squareup.picasso:picasso:2.3.2
  20. com.squareup:otto:1.3.5
  21. org.slf4j:slf4j-android:1.7.7
  22. de.keyboardsurfer.android.widget:crouton:1.8.4
  23. com.nineoldandroids:library:2.4.0
  24. com.jakewharton:butterknife:5.1.1
  25. com.google.guava:guava:16.0.1
  26. com.squareup.okhttp:okhttp:2.0.0
  27. com.squareup.dagger:dagger:1.2.1

How to Manually add support dependency library inside Android Studio project gradle file.

1. Start Android Studio and open your project .

2. Click on Build -> Edit Libraries and Dependencies.

build

3. Select app -> Dependencies -> Click on small + button.

dependencies

4. Click on Library Dependency.

library-dependency

5. Here you go now all available inbuilt libraries will be display on your screen now select them and add them inside your project.

Manually add support dependency library inside Android Studio project gradle file

 

Leave a Reply

Your email address will not be published. Required fields are marked *