IDE Error when creating a new activity in android studio 3.0.1

后端 未结 3 847
谎友^
谎友^ 2021-02-04 09:20

I am having problems to create new activities in Android Studios 3.0.1 for Windows 10, the issue is that until yesterday everything worked, but now it throws errors when trying

3条回答
  •  南笙
    南笙 (楼主)
    2021-02-04 09:52

    EDIT (27/01/2018) : The issue have been fixed by Jetbrains. Just update your Kotlin plugin.


    As @Sharj said, it is a known bug.

    The first solution is to disable the Kotlin plugin : Files > Settings > Plugins and unckeck Kotlin.

    --

    But if you need to use the plugin, you have to downgrade it to version 1.2.10.

    To do so download the 1.2.10 plugin archive on the Jetbrain Plugin Repository corresponding to your Android Studio version. For me it is 1.2.10-release-Studio3.0-1.

    Then install it : Files > Settings > Plugins and select Install plugin from disk.... Choose your 1.2.10-release-Studio3.0-1.zip archive you just downloaded and then restart Android Studio.

提交回复
热议问题