'Plugin [id: 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin'] was not found in any of the following sources:
Plugin [id: 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin'] was not found in any of the following sources:
- Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights.
'''
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin'
id 'kotlin-parcelize'
}
'''
Solution 1:[1]
The question is missing some information. I will suggest following the guide below step by step. https://developers.google.com/maps/documentation/android-sdk/secrets-gradle-plugin
The two things that come in to mind at first glance are?
- Specify the version of the plugin
plugins {
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin' version '2.0.1'
}
- Add the following at the top of your settings.gradle or settings.gradle.kts.
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
rootProject.name = ...
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |