Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the purpose of the Android Private Libraries, Referenced Libraries and Android Dependies in android project hierarchy?

Tags:

I want to know the exact use of Android Private Libraries, Referenced Libraries and Android Dependencies in an android project hierarchy?

enter image description here

like image 848
Buru Avatar asked Jan 08 '14 11:01

Buru


People also ask

What is Android Dependencies?

In Android Studio, dependencies allows us to include external library or local jar files or other library modules in our Android project. For example: Suppose I want to show some images in ImageView. But I'm using Glide Library to enhance the smoothness of application.

What is library in Android?

An Android library is structurally the same as an Android app module. It can include everything needed to build an app, including source code, resource files, and an Android manifest.

Where should I add library in Android Studio?

Click on Project files. Copy the jar file to the libs folder. Here, you can see our added jar file under the libs folder. Right-click on the jar file and select Add As Library.


1 Answers

Android Private Libraries - Android libraries allows one to store source code and resources which are used by several other Android projects. The Android Development Tools(ADT) compile the content of library into the Android project by creating a JAR file. Using libraries, help you to structure your application code. Also more and more important Open Source libraries are available for Android. Understanding library projects is therefore important for every Android programmer.

Referenced Libraries - Referenced Libraries include all the necessary external JAR libraries that the project requires to function.

Android Dependencies - Android Dependencies is a virtual folder where Eclipse shows what JAR files the project depends on. It's not a physical folder; you won't find it on your hard disk. Deleting this folder would destroy your project.

References - Android Dependencies, Referenced Libraries, Android Private Libraries

like image 77
VikramV Avatar answered Oct 28 '22 04:10

VikramV