LoginSignup
0
0

More than 5 years have passed since last update.

AndroidStudioで「Plugin Error: Kotlin threw an uncaught IllegalArgumentException」が出た時の対処法

Last updated at Posted at 2018-10-30

事象

GradleのSyncが走った時に以下のようなエラーがASのEventLogに吐かれていました。

Plugin Error: Kotlin threw an uncaught IllegalArgumentException

原因

↑こちらの記事をみて、気づきました。

僕の場合Projectのbuild.gradleのext.kotlin_version = 1.2.10がAndroidStudioのKotlinPluginのバージョンと違うことによってエラーが起きていた。。

対処法

AndroidStudioの「Preference > Plugins」からKotlinのバージョンを確認して、そのバージョンとProject配下のbuild.gradleで定義しているkotlinのバージョンを合わせればOKです。

0
0
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
0
0