google / google/play-services-plugins
ERROR: Could not find org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.2.71.
- Dominant language
- Kotlin
- Stars
- 526
- Forks
- 167
- Avg merge
- 7d 21h
- Merged PRs (30d)
- 2
Description
**Describe the bug**
When running gradle sync, I receive the following error, after following instructions in the github page for configuring the plugin.
ERROR: Could not find org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.2.71.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.2.71/kotlin-stdlib-jdk8-1.2.71.pom
- https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.2.71/kotlin-stdlib-jdk8-1.2.71.jar
Required by:
project :mobile > com.google.android.gms:oss-licenses-plugin:0.10.0 > com.android.tools.build:gradle:3.2.1
project :mobile > com.google.android.gms:oss-licenses-plugin:0.10.0 > com.android.tools.build:gradle:3.2.1 > com.android.tools.build:builder:3.2.1
project :mobile > com.google.android.gms:oss-licenses-plugin:0.10.0 > com.android.tools.build:gradle:3.2.1 > com.android.tools.lint:lint-gradle-api:26.2.1
project :mobile > com.google.android.gms:oss-licenses-plugin:0.10.0 > com.android.tools.build:gradle:3.2.1 > com.android.tools.build:gradle-api:3.2.1
project :mobile > com.google.android.gms:oss-licenses-plugin:0.10.0 > com.android.tools.build:gradle:3.2.1 > androidx.databinding:databinding-compiler-common:3.2.1
project :mobile > com.google.android.gms:oss-licenses-plugin:0.10.0 > com.android.tools.build:gradle:3.2.1 > com.android.tools.build:builder:3.2.1 > com.android.tools:sdk-common:26.2.1
project :mobile > com.google.android.gms:oss-licenses-plugin:0.10.0 > com.android.tools.build:gradle:3.2.1 > com.android.tools.build:builder:3.2.1 > com.android.tools:common:26.2.1
project :mobile > com.google.android.gms:oss-licenses-plugin:0.10.0 > com.android.tools.build:gradle:3.2.1 > com.android.tools.build:builder:3.2.1 > com.android.tools.build:manifest-merger:26.2.1
project :mobile > com.google.android.gms:oss-licenses-plugin:0.10.0 > com.android.tools.build:gradle:3.2.1 > com.android.tools.build:builder:3.2.1 > com.android.tools:sdklib:26.2.1 > com.android.tools:repository:26.2.1
**To Reproduce**
1. Open module's build.grade file
2. Add the two references to com.google.android.gms:oss-licenses-plugin:0.10.0
buildscript {
repositories {
// ...
google() // or maven { url "https://maven.google.com" } for Gradle <= 3
}
dependencies {
// ...
// Add this line:
classpath 'com.google.android.gms:oss-licenses-plugin:0.10.0'
}
}
apply plugin: 'com.android.application'
apply plugin: 'com.google.android.gms.oss-licenses-plugin'
3. Click sync gradle file.
Produces the error given above.
4. Comment out the two references to com.google.android.gms.oss-licenses-plugin
5. Resync the gradle file.
The error goes away.
**Expected behavior**
I expect my build.gradle file to sync properly, after following the instructions on the github page.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- Gradle version: 5.4.1
- Gradle plugin version: 3.5.3.
- Android Studio version [e.g. 3.5.3
- Plugin name and version: OSS Licenses 0.10.1, 0.10.0
**Additional context**
My project does not use Kotlin, and may be missing some configuration for kotlin.
Contributor guide
Assessment
This issue has not been assessed yet.