flutter-unity-view-widget icon indicating copy to clipboard operation
flutter-unity-view-widget copied to clipboard

[Android] Compiling error flutter 3.24

Open lorisgir opened this issue 6 months ago • 7 comments

Describe the bug After the update to flutter 3.24 every time I try to build & run on the emulator I get these error messages: e: file:///Users/{user}/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.1/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/FlutterUnityWidgetPlugin.kt:97:9 Cannot weaken access privilege 'public' for 'lifecycle' in 'LifecycleOwner' e: file:///Users/{user}/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.1/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/FlutterUnityWidgetPlugin.kt:97:21 'lifecycle' hides member of supertype 'LifecycleOwner' and needs 'override' modifier

I already tried to run flutter clean and rebuild the unity project from unity but always the same error

Unity:

  • OS: MacOS
  • Version 2022.3.36

Smartphone:

  • Device: Pixel 8 Emulator
  • OS: Android
  • Version 15

lorisgir avatar Aug 08 '24 10:08 lorisgir