I want to know the exact use of Android Private Libraries, Referenced Libraries and Android Dependencies in an android project hierarchy?
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.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With