
# to define the nfig property as described in that file. However, you also need to add the corresponding dependencies for Android.# To enable ProGuard in your project, edit project.properties Please note that these dependencies will work for implementing Firebase products. Implementation ":play-services-auth:$play_services_auth_version" Implementation platform(":firebase-bom:$firebase_bom_version") To solve this, please add the following dependencies in your configuration files:Ĭlasspath ":google-services:$google_services_version"Ĭlasspath ":hilt-android-gradle-plugin:$hilt_version" Besides that, you have removed the kotlin-android and kotlin-kapt plugins. The line of code that is causing you problems is: implementation ':firebase-core' I will be very grateful if you could help me to solve it because I already tried to do it alone, without success, for so much time Can you help me resolve the issues or give me some advice and guidance? I tried a lot of different approaches but I don't have enough knowledge on new Settings. When I sync project I get these warnings like my project don't access Google Maven repository at:Ĭom.(GradleModules.kt:266)Īfter I resolved this one I got folowing one:Ĭould not find :firebase-core.įailed to resolve: :play-services-auth-ktxĪdd Google Maven repository and sync projectĬaused by: .$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Check build files to ensure at least one variant exists. Implementation platform(':firebase-bom:32.1.0') Import the BoM for the Firebase platform TargetCompatibility JavaVersion.VERSION_1_8 SourceCompatibility JavaVersion.VERSION_1_8 ProguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' Top-level build file where you can add configuration options common to all sub-projects/modules.īadle (Module:App) apply plugin: ''Īpply plugin: ''Īpply plugin: '-services'

Id "-services" version "$gms_version" apply false Id '' version "$kotlin_version" apply false Id '' version "$gradle_version" apply false classpath ":google-services:$gms_version" classpath ':hilt-android-gradle-plugin:2.41' classpath ":kotlin-gradle-plugin:$kotlin_version" RootProject.name = "RowingBG Achievements" t(RepositoriesMode.FAIL_ON_PROJECT_REPOS)


The app was generated via the latest Android Studio Navigation Template. I try to add Firebase libraries to my app. I tried a large number of solutions found on the internet, but still can't build and run my project successfully. I have big struggles with the configuration of my Android Gradle Project.
