Android Studio and Gradle use a dependency system known as Maven. A Maven repository is a library of software, a place where developers can add libraries and other developers can download them. In this project's build.gradle file, which I've opened, Android Studio has a couple of lines in the dependencies block that refer to support libraries. The appcompat library gives you features that you can add to an app that will work all the way back to API level 7 devices.
- [Instructor] Android Studio and Gradle, use a dependency…system known as Maven.…A dependency is a way of describing a particular code…library that you want to incorporate into your application.…They're listed in the build.gradle file at the end…in the dependencies block.…And when you create a brand new android studio project,…you get a certain number of dependencies automatically.…The first one is called a compile directive, and it's saying…compile all jar files that are in…the modules libs directory.…There are also dependencies here for testing, including one…for espresso testing that does UI testing on android,…and one down here for junit for java based unit testing.…
This project also has dependencies for support libraries.…Now, a maven repository is a software library,…and there are both local repositories,…and remote repositories.…When you install the Android SDK, by default you get a…couple of repositories automatically.…I'll go to the SDK manager, to the SDK tools tab,…and show you down at the bottom that there's a support…
- Installing Android Studio
- Creating your first Android Studio project
- Managing profile files, including Gradle scripts and support libraries
- Defining screens with activities
- Implementing designs in XML layouts