juicycleff / flutter-unity-view-widget

Embeddable unity game engine view for Flutter. Advance demo here https://github.com/juicycleff/flutter-unity-arkit-demo
BSD 3-Clause "New" or "Revised" License
2.09k stars 504 forks source link

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

Open RevisOTO opened 4 months ago

RevisOTO commented 4 months ago

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

AhmadAmr commented 4 months ago

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 commented 2 months ago

did they solve it?