Kotlin Version error
I got the below error I don't know how to solve it
- What went wrong: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. The following dependencies do not satisfy the required version: project ':arcore_flutter_plugin' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50
i am facing same issue. looking for solutions
It is easy to solve.
- Open the project with Android studio.
- Open build.gradle(Module:arcore_flutter_plugin)
- Change
ext.kotlin_version = '1.5.31'which is inbuildscript { - Change
classpath 'com.android.tools.build:gradle:3.5.4'which is independencies { - Change
minSdkVersion 25which is indefaultConfig {
You also have to change minSdkVersion 25 which is in build.gradle(Module:app)
The error will disappear.
Thank you, @SanKoKo , this solved the issue for me.
While browsing in the plugin repo, I found branch 'android-upgrading' which has the correct versions in the build.gradle files. I updated the plugin from that branch, updated ComplieSdkVersion to 34 in my app build.gradle and I am a happy man.
Thank you, @SanKoKo , this solved the issue for me.
While browsing in the plugin repo, I found branch 'android-upgrading' which has the correct versions in the build.gradle files. I updated the plugin from that branch, updated ComplieSdkVersion to 34 in my app build.gradle and I am a happy man.
Thank you for your information. I didn't notice it.
Thank you, @SanKoKo , this solved the issue for me.
While browsing in the plugin repo, I found branch 'android-upgrading' which has the correct versions in the build.gradle files. I updated the plugin from that branch, updated ComplieSdkVersion to 34 in my app build.gradle and I am a happy man.
How to update the plugin from the branch?
Its not working
Thank you, @SanKoKo , this solved the issue for me. While browsing in the plugin repo, I found branch 'android-upgrading' which has the correct versions in the build.gradle files. I updated the plugin from that branch, updated ComplieSdkVersion to 34 in my app build.gradle and I am a happy man.
Thank you for your information. I didn't notice it.
It is easy to solve.
- Open the project with Android studio.
- Open build.gradle(Module:arcore_flutter_plugin)
- Change
ext.kotlin_version = '1.5.31'which is inbuildscript {- Change
classpath 'com.android.tools.build:gradle:3.5.4'which is independencies {- Change
minSdkVersion 25which is indefaultConfig {You also have to change
minSdkVersion 25which is in build.gradle(Module:app) The error will disappear.
Its not working
I follow the above steps but still the same error is showing
- What went wrong:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
The following dependencies do not satisfy the required version: project ':arcore_flutter_plugin' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50
I follow the above steps but still the same error is showing
- What went wrong: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. The following dependencies do not satisfy the required version: project ':arcore_flutter_plugin' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50
Did you sync the gradle?
Its not working
Thank you, @SanKoKo , this solved the issue for me. While browsing in the plugin repo, I found branch 'android-upgrading' which has the correct versions in the build.gradle files. I updated the plugin from that branch, updated ComplieSdkVersion to 34 in my app build.gradle and I am a happy man.
Thank you for your information. I didn't notice it.
It is easy to solve.
- Open the project with Android studio.
- Open build.gradle(Module:arcore_flutter_plugin)
- Change
ext.kotlin_version = '1.5.31'which is inbuildscript {- Change
classpath 'com.android.tools.build:gradle:3.5.4'which is independencies {- Change
minSdkVersion 25which is indefaultConfig {You also have to change
minSdkVersion 25which is in build.gradle(Module:app) The error will disappear.Its not working
What error do you get?
I sync and I do the process by using vscode. Should I use Android studio? Can you provide me the source code that have this package … On Mon, 26 Feb, 2024, 10:35 pm SanKoKo, @.> wrote: I follow the above steps but still the same error is showing - What went wrong: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. The following dependencies do not satisfy the required version: project ':arcore_flutter_plugin' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50 Did you sync the gradle? — Reply to this email directly, view it on GitHub <#222 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A52SKLDSWUP72NQHPRPWH2LYVS6FRAVCNFSM6AAAAABAD3U6DSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRUGY3DEMJVGQ . You are receiving this because you commented.Message ID: @.>
Sure, you must use Android studio for this issue.
I sync and I do the process by using vscode. Should I use Android studio? Can you provide me the source code that have this package … On Mon, 26 Feb, 2024, 10:35 pm SanKoKo, @.> wrote: I follow the above steps but still the same error is showing - What went wrong: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. The following dependencies do not satisfy the required version: project ':arcore_flutter_plugin' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50 Did you sync the gradle? — Reply to this email directly, view it on GitHub <#222 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A52SKLDSWUP72NQHPRPWH2LYVS6FRAVCNFSM6AAAAABAD3U6DSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRUGY3DEMJVGQ . You are receiving this because you commented.Message ID: _@**.**_>
Sure, you must use Android studio for this issue.
I use android studio but get the same error. Can you please provide a source code that have this package?
I sync and I do the process by using vscode. Should I use Android studio? Can you provide me the source code that have this package … On Mon, 26 Feb, 2024, 10:35 pm SanKoKo, @.> wrote: I follow the above steps but still the same error is showing - What went wrong: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. The following dependencies do not satisfy the required version: project ':arcore_flutter_plugin' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50 Did you sync the gradle? — Reply to this email directly, view it on GitHub <#222 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A52SKLDSWUP72NQHPRPWH2LYVS6FRAVCNFSM6AAAAABAD3U6DSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRUGY3DEMJVGQ . You are receiving this because you commented.Message ID: _@**.**_>
Sure, you must use Android studio for this issue.
I use android studio but get the same error. Can you please provide a source code that have this package?
Yes, [email protected]:SanKoKo/ar_core_flutter_testing_project.git In that project, I tested the earth and moon.
I sync and I do the process by using vscode. Should I use Android studio? Can you provide me the source code that have this package … On Mon, 26 Feb, 2024, 10:35 pm SanKoKo, @.> wrote: I follow the above steps but still the same error is showing - What went wrong: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. The following dependencies do not satisfy the required version: project ':arcore_flutter_plugin' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50 Did you sync the gradle? — Reply to this email directly, view it on GitHub <#222 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A52SKLDSWUP72NQHPRPWH2LYVS6FRAVCNFSM6AAAAABAD3U6DSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRUGY3DEMJVGQ . You are receiving this because you commented.Message ID: _@**.**_>
Sure, you must use Android studio for this issue.
I use android studio but get the same error. Can you please provide a source code that have this package?
Yes, [email protected]:SanKoKo/ar_core_flutter_testing_project.git In that project, I tested the earth and moon.
I clone it but its still shows error , i think arcore_flutter_plugin has bug