flutter-unity-view-widget
flutter-unity-view-widget copied to clipboard
[ARCore Extensions][Geospatial creator] Duplicate classes
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:
- Set-Up flutter-unity-view-widget in Flutter and Unity
- Install Cesium and ARCore Extensions in Unity
- Enable Geospatial and Geospatial creator in Unity Edit > Project Settings > ARCore Extensions > Geospatial and Geospatial creator CheckBox
- Export Android Build to Flutter
- Create a Unity Widget and run.
- The error will appear.
-
OS: Windows 10
-
Version 2021.3.23f1
-
Device: Samsung A53
-
OS: Android
-
Version 13
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')
}
did they solve it?