CariusLars / ar_flutter_plugin

Flutter Plugin for AR (Augmented Reality) - Supports ARKit on iOS and ARCore on Android devices
MIT License
317 stars 228 forks source link

project ':ar_flutter_plugin' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50 #204

Open m-derakhshi opened 11 months ago

m-derakhshi commented 11 months ago
Schandroid243 commented 11 months ago

I have the same issue how can I fix it ?

Schandroid243 commented 11 months ago

Did you solve it ?

Azis202017 commented 11 months ago

Same here...

zeeshan0080 commented 10 months ago

Temporary workaround: Go to External Libraries -> Flutter Plugins -> ar_flutter_plugin -> android -> build.gradle. Change "ext.kotlin_version" to atleast '1.5.20'

tamalbachar commented 10 months ago

i tried changing the "ext.kotlin_version" to atleast '1.5.20' . i used flutter clean and then flutter pub get to rebuild the project. I used flutter run to run it. It worked for me.

any idea how to get this issue fixed for the long run? any update from the creator?

thpir commented 9 months ago

Temporary workaround: Go to External Libraries -> Flutter Plugins -> ar_flutter_plugin -> android -> build.gradle. Change "ext.kotlin_version" to atleast '1.5.20'

Worked for me to! Tnx

Memaverick commented 9 months ago

Not working for me..... Anyone have any solution??

tamalbachar commented 9 months ago

Not working for me..... Anyone have any solution??

can you give a brief description of what you did ? or the code that you changed...

CryptoSoo commented 7 months ago

Did anyone find any solution ? The issue still exist

sarabluekens commented 5 months ago

This basically means that the gradle version used in the plugin itself is outdated.

I was able to solve this error by manually upgrading the org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50 in the AR plugin itself. -> you can edit the source code of plugins in Android Studio. (as far as i know, not in VsCode)

Steps I took: 1)Open project in Android Studio, 2) Below project there should be a folder "External Libraries" (If you cant see the external libraries, make sure project is selected in the dropdown) image

3)Open External Libraries>Flutter plugins>ar_flutter_plugin>android>build.gradle 4)In that file, update the ext.kotlin.version.

buildscript {
    ext.kotlin_version = '1.5.20'
}

Hope this solves it for you!