Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error : Could not find org.jetbrains.kotlin:kotlin-stdlib-jre8:1.3.10. in Android Studio 3.3 RC 1

Tags:

android

kotlin

When update android studio to 3.3 RC 1 and build the project (run perfectly in previous version of android studio) then its show me following error:

ERROR: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.0 and higher.
The following dependencies do not satisfy the required version:
root project 'GPS_Speedometer_material' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.71

according to this error I have update the kotlin version 1.2.17 to 1.3.0

but it show me following error:

Could not find org.jetbrains.kotlin:kotlin-stdlib-jre8:1.3.0. 

also try the latest kotlin version but same error:

Could not find org.jetbrains.kotlin:kotlin-stdlib-jre8:1.3.10.

Here is my build.gradle

buildscript {
    ext.kotlin_version = '1.3.10'
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.3.0-rc01'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
        classpath "com.github.dcendents:android-maven-gradle-plugin:2.0"
        classpath 'com.google.gms:google-services:4.0.1'
    }
}

allprojects {
    repositories {
        google()
        jcenter()
        maven { url "https://jitpack.io" }
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}
like image 587
code4rox Avatar asked Dec 08 '25 11:12

code4rox


1 Answers

Try to change kotlin-stdlib-jre8 => kotlin-stdlib-jdk8

Kotlin standard library artifacts and split packages

The last version of jre8is 1.2.71 according to here.

like image 95
Dewey Reed Avatar answered Dec 10 '25 01:12

Dewey Reed