LoginSignup
1
1

More than 3 years have passed since last update.

AndroidStudio4.0 Canaryでgradleを4.0.0にするとエラーになった

Posted at

はじめに

タイトルの通りです。
エラーになったので解消までの手順を備忘録として書いておきます。

何をしたか

「AndroidStudioの右下に、gradleの最新があるからupdateする?」
と出たのでアップデートしたらエラーが出ました。

Could not find org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.60-eap-25

こんな感じでエラーが出ました。

解消方法

ここを読め!なんですが、以下な感じです。

TopLevelのbuild.gradleに以下を追記しましょう。

./build.gradle
buildscript {
    repositories {
     ・・・
        maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
    }
}

allprojects {
    repositories {
     ・・・
        maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
    }
}

Syncしましょう。

以上!

所感

わからないことはすぐに調べて解消しないと挫折しちゃう。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1