Closed evangerlions closed 1 year ago
You need to use Android Studio, not IDEA.
You need to use Android Studio, not IDEA.
Thanks your answer, BTW how about required Android Studio version?
I use Android Studio Flamingo | 2022.2.1 Beta 4
But gradle sync has some error like:
Cannot convert object of class org.jetbrains.kotlin.idea.gradleTooling.arguments.CachedExtractedArgsInfoImpl to org.jetbrains.kotlin.idea.projectModel.CachedArgsInfo<?>.
I'm on Android Studio Flamingo | 2022.2.1 Patch 2 and it appears to work for me. Can you try all the steps from https://github.com/JetBrains/compose-multiplatform-template from scratch, using Android Studio?
I'm on Android Studio Flamingo | 2022.2.1 Patch 2 and it appears to work for me. Can you try all the steps from https://github.com/JetBrains/compose-multiplatform-template from scratch, using Android Studio?
I used the template and create a github repo.
then I clone it to my PC.
git clone git@github.com:evangerlions/ComposeMultiTemplate.git
and open ComposeMultiTemplate folder with Android Studio.
when it did auto gradle sync, will show the error:
Cannot convert object of class org.jetbrains.kotlin.idea.gradleTooling.arguments.CachedExtractedArgsInfoImpl to org.jetbrains.kotlin.idea.projectModel.CachedArgsInfo<?>.
I've been using android studio for development, and normal android apps run completely fine. You can check kdoctor info in my previous post.
Perhaps clearing some cache (gradle and/or Android Studio) will help? Also try the latest stable Android Studio Flamingo | 2022.2.1 Patch 2
Also make sure you have the Kotlin Multiplatform Mobile plugin installed:
Also make sure you have the Kotlin Multiplatform Mobile plugin installed:
Android Studio Flamingo | 2022.2.1 Patch 2 can work,Thank you very much!
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Describe the bug A clear and concise description of what the bug is.
Affected platforms Select one of the platforms below:
Versions
To Reproduce git clone https://github.com/JetBrains/compose-multiplatform-template and use IntelliJ IDEA 2022.2.3 (Community Edition) open the folder trigger gradle sync will show
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.