https://kotlinlang.org logo
Title
k

kevin

11/29/2020, 9:44 PM
Hi all, I’m trying to open the ‘compose-jb/examples/issues’ project in intelliJ Idea and I get this error: ‘This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 4.1 or newer.’ The project does open in Android Studio, but in AS I can’t change the Gradle settings (I’m getting SDK clashes that I think I can fix through the Gradle settings in Idea). I’m running Idea 2020.2.4 (and AS 1.4). I haven’t changed anything in the Gradle files (so I still have ‘classpath(“com.android.tools.build:gradle:4.1.1”)’ for example). Any ideas on how to fix this?
It appears that the 4.1.0 (or 4.1.1) plugin doesn’t play well with IntelliJ. If I go back to the 4.0.1 plugin then the project loads and runs. If you create an app with the new wizard (in IntelliJ 2020.3 RC) then it sets the plugin version to 4.0.1, changing it to 4.1.0 causes the same issue