Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kotlin Gradle plugin version error #226

Open
jahanzaib999 opened this issue Feb 16, 2024 · 13 comments
Open

Kotlin Gradle plugin version error #226

jahanzaib999 opened this issue Feb 16, 2024 · 13 comments

Comments

@jahanzaib999
Copy link

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
@HuzefaAbbasi
Copy link

same problem, have you found the solution

@jahanzaib999
Copy link
Author

same problem, have you found the solution

Use this package arcore_flutter_plugin: ^0.2.0-alpha

@HuzefaAbbasi
Copy link

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)

@jahanzaib999
Copy link
Author

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'

@HuzefaAbbasi
Copy link

thank you

@DennisDebbarma
Copy link

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

@giandifra
Copy link
Owner

Someone can try this branch ? #228

@yugeshpoudel45
Copy link

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?

@DennisDebbarma
Copy link

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

@yugeshpoudel45
Copy link

yugeshpoudel45 commented Apr 29, 2024

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

@DennisDebbarma
Copy link

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
Copy link

DennisDebbarma commented Apr 29, 2024

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

@Hemanth01235
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants