Outdated Kotlin Runtime

環境構築Kotlin

実際に表示されたメッセージ内容

 状態:解決済  閲覧数:2,665  投稿日:2018-05-06  更新日:2018-05-06

Your version of Kotlin runtime in 'Gradle


'Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.2.40@jar' library の Kotlin runtime
・1.2.40-release-66 (1.2.40)

plugin version
・1.2.41-release-Studio3.1-1
13:01 Outdated Kotlin Runtime
Your version of Kotlin runtime in 'Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.2.40@jar' library is 1.2.40-release-66 (1.2.40), while plugin version is 1.2.41-release-Studio3.1-1.
Runtime library should be updated to avoid compatibility problems.
Update Runtime Ignore


エラー対応

 閲覧数:520 投稿日:2018-05-06 更新日:2018-05-06

手順


1.(Project:[projectName])build.gradleファイルを開く

2.ext.kotlin_version = 'x.x.x'を探して、x.x.xを現在のKotlinプラグインバージョンへ変更する

対応例


修正前
▼build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
   ext.kotlin_version = '1.2.40'
   repositories {
       google()
       jcenter()
   }


修正後
▼build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
   ext.kotlin_version = '1.2.41'
   repositories {
       google()
       jcenter()
   }






Outdated Kotlin Runtime warning in Android Studio


既存JAVAプロジェクトをKotlinへ変換



週間人気ページランキング / 12-24 → 12-30
順位 ページタイトル抜粋 アクセス数
1 この行に複数マーカーがあります | エラー(エラー) 6
2 ○○は解決できないか、フィールドではありません | エラー(エラー) 4
3 インポートされた ★★ は見つかりません | エラー 3
3 エディターを開くことができません: 予期しない例外が起こりました。 | エラー(エラー) 3
3 「Android Studio 3.1.2」で「Translations Editor」を表示 | Android Studio(IDE) 3
3 Eclipse で「パッケージ名」変更 | Eclipse(IDE) 3
3 エラー対応 3
3 Android Studio で、ソースコードが改行できない | Android Studio(IDE) 3
4 注意事項 2
4 既存プロジェクトがインポート出来ない | プロジェクト(環境構築) 2
4 values-ja/strings.xmlに記載した内容が反映されない | 多言語化(環境構築) 2
4 Unbind failed: could not find connection for android.os.BinderProxy@★★ | エラー(エラー) 2
4 public 型 ★★ はそれ独自のファイル内に定義されなければなりません | エラー 2
4 プラグイン "org.eclipse.ui.workbench" からのコードの起動で問題が発生しました | エラー(エラー) 2
4 R を変数に解決できません | エラー(エラー) 2
4 The project is using an unsupported version of the Android Gradle plug-in (0.8.3). Version 0.9.0 introduced incompatible changes in the build language. | Gradle(環境構築) 2
5 エラーが発生しました。ログ・ファイル ★★.log.を参照してください | エラー(エラー) 1
5 内部エラーの表示中に内部エラーが発生しました | エラー 1
5 Context を変数に解決できません | エラー(エラー) 1
5 java.lang.NullPointerException | エラー(エラー) 1
2025/12/31 1:01 更新