Not all the libraries you may wish to use will be part of your SDK. There are other, external libraries that may also be beneficial in the development of your app. These open source libraries can be linked with Android Studios for easy access. In this video, you'll learn how to add remote libraries with Maven dependencies.
-I've already described how to add…a dependency to a project that links to a…JAR file that you provide.…You can also link to JAR files that exist somewhere else,…either that are provided as a part of the SDK,…or that you download automatically…from something called a JAR file repository.…The dependency system is based on…an architecture known as Maven,…and a Maven repository is a library of libraries.…A place where developers can add libraries…and other developers can download them.…
Let's go back to My First Project.…The more complex project that I created…that has two activities.…When I created this project,…Android Studio added this line to the…dependencies element in the application's…Gradle build file.…It's referring to v4 support library.…Now as I've described, that support library…is a part of your SDK download.…I'll go back to my SDK manager…and only show the elements that are installed.…
Here it is -- the Android support repository!…Here's how this is working.…This compile line is referring to a package,…
Note: This course was revised on 8/20/2014 to reflect changes in the .0.8.4 beta version of Android Studio.
- Exploring Android Studio and IntelliJ IDEA
- Installing Android Studio
- Creating projects with Android Studio
- Navigating the user interface
- Designing activity layouts
- Analyzing and refactoring code
- Debugging and packaging apps
Skill Level Beginner
Q: This course was updated on 8/20/2014. What changed?
A: We revised this course to reflect changes to the Android Studio beta, released at the 2014 Google I/O conference. This update was recorded with Android Studio .0.8.4, which contains a new project wizard and updates to the Gradle build system. For more information about the changes in this course, check out the "What's new in this update" movie.