From the course: Android Studio Essential Training 2020

Unlock the full course today

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

Manage Gradle build scripts

Manage Gradle build scripts

From the course: Android Studio Essential Training 2020

Start my 1-month free trial

Manage Gradle build scripts

- Android studio projects are built around the Gradle build system. When you create a android studio project it's populated automatically with two Gradle build scripts. There's one for the project this includes vital information that affects everything in your project. If you're working with the Kotlin programming language you'll see a Kotlin version, this is the version of your Kotlin plug in and this number must match the version of the Kotlin plug in that you have installed with your copy of Android studio. If you're not sure what that is go to your preferences or settings dialogue then go to languages and frameworks, Kotlin and you'll see your current plug in version listed there. If there's a mismatch, go back to your Gradle build file for the project and update it to match. The repositories block contains instructions to the Gradle build system telling it where to find libraries that you've indicated you want to…

Contents