Open m-derakhshi opened 11 months ago
I have the same issue how can I fix it ?
Did you solve it ?
Same here...
Temporary workaround: Go to External Libraries -> Flutter Plugins -> ar_flutter_plugin -> android -> build.gradle. Change "ext.kotlin_version" to atleast '1.5.20'
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?
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
Not working for me..... Anyone have any solution??
Not working for me..... Anyone have any solution??
can you give a brief description of what you did ? or the code that you changed...
Did anyone find any solution ? The issue still exist
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)
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!