From the course: Android Development Essential Training: Your First App with Kotlin

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Use dependencies and support libraries

Use dependencies and support libraries - Android Tutorial

From the course: Android Development Essential Training: Your First App with Kotlin

Start my 1-month free trial

Use dependencies and support libraries

- [Narrator] The Gradle build system which is integrated into Android Studio depends on a system known as Maven. A Maven repository is a library of libraries. A place where developers can share libraries and other developers can download them. You declare dependencies in your applications Gradle build file that point to libraries stored in Maven. In your project level build file, you can declare variables that are used to determine the versions of various libraries that you'll be using, but the actual dependencies should be declared in the module "build.gradle" file. Their down here in the dependencies section and each starts with the keyword implementation and then is followed by a string. Strings that combine literal values with variables must be wrapped in double quotes but simple strings such as the one for the "appcompat" library can be wrapped either single or double quotes. In this application I have a number of dependencies that use support libraries. A support library…

Contents