arcore_flutter_plugin icon indicating copy to clipboard operation
arcore_flutter_plugin copied to clipboard

Kotlin Gradle plugin version error

Open jahanzaib999 opened this issue 1 year ago • 13 comments

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: root project 'android' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50

jahanzaib999 avatar Feb 16 '24 10:02 jahanzaib999

same problem, have you found the solution

HuzefaAbbasi avatar Feb 20 '24 19:02 HuzefaAbbasi

same problem, have you found the solution

Use this package arcore_flutter_plugin: ^0.2.0-alpha

jahanzaib999 avatar Feb 21 '24 05:02 jahanzaib999

is it working fine for you? i am having issues like this: Duplicate class com.google.flatbuffers.Utf8Safe found in modules jetified-core-1.21.0-runtime (com.gorisse.thomas.sceneform:core:1.21.0) and jetified-sceneform-base-1.15.0-runtime (com.google.ar.sceneform:sceneform-base:1.15.0)

HuzefaAbbasi avatar Feb 21 '24 17:02 HuzefaAbbasi

is it working fine for you? i am having issues like this: Duplicate class com.google.flatbuffers.Utf8Safe found in modules jetified-core-1.21.0-runtime (com.gorisse.thomas.sceneform:core:1.21.0) and jetified-sceneform-base-1.15.0-runtime (com.google.ar.sceneform:sceneform-base:1.15.0)

implementation 'com.google.ar:core:1.28.0'

jahanzaib999 avatar Feb 22 '24 04:02 jahanzaib999

thank you

HuzefaAbbasi avatar Feb 22 '24 16:02 HuzefaAbbasi

did implementation 'com.google.ar:core:1.28.0' work for me it didn't. what's with the arcoresceneform? also can you guys please share the kotlin version? would be a great help

DennisDebbarma avatar Mar 18 '24 16:03 DennisDebbarma

Someone can try this branch ? https://github.com/giandifra/arcore_flutter_plugin/pull/228

giandifra avatar Mar 19 '24 10:03 giandifra

did implementation 'com.google.ar:core:1.28.0' work for me it didn't. what's with the arcoresceneform? also can you guys please share the kotlin version? would be a great help

didn't worked for me too. Can someone help me with it?

yugeshpoudel45 avatar Apr 25 '24 11:04 yugeshpoudel45

try ar_flutter_plugin_flutterflow: ^0.7.46, and all the functions and everything is same as ar flutter plugin. You can check the plugins there at the website. Much better and supports arkit as well as arcore.

All the best, it is working for me better

DennisDebbarma avatar Apr 25 '24 12:04 DennisDebbarma

try ar_flutter_plugin_flutterflow: ^0.7.46, and all the functions and everything is same as ar flutter plugin. You can check the plugins there at the website. Much better and supports arkit as well as arcore.

All the best, it is working for me better

While using ar_flutter_plugin_flutterflow plugin. This issue arises while trying to run it in android emulator in virtualscene. Can you help me with it? 325815998-123d667e-ae25-4a05-b503-04c121bba0e9

yugeshpoudel45 avatar Apr 29 '24 12:04 yugeshpoudel45

try using https://github.com/CariusLars/ar_flutter_plugin/blob/main/example/lib/examples/debugoptionsexample.dart this code example, just replace ar_flutter_plugin with ar_flutter_plugin_flutterflow, if not on virtual device then use your real device that supports arcore.

DennisDebbarma avatar Apr 29 '24 12:04 DennisDebbarma

dont forget to update your android manifest https://github.com/CariusLars/ar_flutter_plugin/blob/main/android/src/main/AndroidManifest.xml follow their example

DennisDebbarma avatar Apr 29 '24 12:04 DennisDebbarma

Change the Kotlin version in External Libraries -> flutter plugins->android->build.gradle change it here it will work

Hemanth01235 avatar Aug 19 '24 12:08 Hemanth01235