

Implementation 'androidx.appcompat:appcompat:1.4.1' TargetCompatibility JavaVersion.VERSION_1_8 SourceCompatibility JavaVersion.VERSION_1_8 ProguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'

This is my adle file: // Top-level build file where you can add configuration options common to all sub-projects/modules. The problem is, in my adle file(Project: My First App) is no buildscript section and therefore also no dependencies section in it. Open Gradle Scripts > adle (Project: My First App)įind the dependencies section In the buildscript section, and add the following lines after the other classpath entries: def nav_version = "2.3.0-alpha04"Ĭlasspath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"

Im currently following this tutorial on making an android app and ive gotten a problem.
