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

[ARCore Extensions][Geospatial creator] Duplicate classes #930

Open
RevisOTO opened this issue Feb 21, 2024 · 2 comments
Open

[ARCore Extensions][Geospatial creator] Duplicate classes #930

RevisOTO opened this issue Feb 21, 2024 · 2 comments
Labels
android This issue is specific to the Android Platform. External libs This issue is related to including and stripping of external libraries

Comments

@RevisOTO
Copy link

RevisOTO commented Feb 21, 2024

When I build the application in Unity and try to run the project in Flutter, too many duplicate class errors appear.

Steps to reproduce the behavior:

  1. Set-Up flutter-unity-view-widget in Flutter and Unity
  2. Install Cesium and ARCore Extensions in Unity
  3. Enable Geospatial and Geospatial creator in Unity
    Edit > Project Settings > ARCore Extensions > Geospatial and Geospatial creator CheckBox
  4. Export Android Build to Flutter
  5. Create a Unity Widget and run.
  6. The error will appear.

image

  • OS: Windows 10

  • Version 2021.3.23f1

  • Device: Samsung A53

  • OS: Android

  • Version 13

@timbotimbo timbotimbo added External libs This issue is related to including and stripping of external libraries android This issue is specific to the Android Platform. labels Feb 21, 2024
@AhmadAmr
Copy link

There is a work around go to android/unityLibrary/build.gradle and comment out the duplicated library

dependencies { 

     //implementation(name: 'androidx.core.core-1.2.0', ext:'aar')
}

@carlosherrerosjerez
Copy link

did they solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android This issue is specific to the Android Platform. External libs This issue is related to including and stripping of external libraries
Projects
None yet
Development

No branches or pull requests

4 participants