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 - Android Tutorial
From the course: Android Development Essential Training: Your First App with Kotlin
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
-
-
-
-
-
(Locked)
Check out the exercise files on GitHub5m
-
(Locked)
Explore the project structure2m 39s
-
(Locked)
Manage Gradle build scripts4m 32s
-
(Locked)
Manage the app manifest file3m 36s
-
(Locked)
Use dependencies and support libraries3m 26s
-
(Locked)
Explore Android Jetpack components2m 27s
-
(Locked)
Troubleshoot Android Studio projects3m 51s
-
(Locked)
-
-