3 글 보임 - 1 에서 3 까지 (총 3 중에서)
-
글쓴이글
-
2025년 5월 29일 22:01 #139606
싱가리참가자PIXEL 5 API 36을 가상머신으로 만들고 플러터 버전은 3.32입니다. 근데 앱을 실행하려는에 아래와 같은 에러메세지가 뜨면서 실행이 안됩니다 ㅠㅠ
warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. C:\Users\Ryanl\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_local_notifications-14.1.1\android\src\main\java\com\dexterous\flutterlocalnotifications\FlutterLocalNotificationsPlugin.java:995: error: reference to bigLargeIcon is ambiguous bigPictureStyle.bigLargeIcon(null); ^ both method bigLargeIcon(Bitmap) in BigPictureStyle and method bigLargeIcon(Icon) in BigPictureStyle match 1 error 3 warnings
FAILURE: Build failed with an exception.
* What went wrong: Execution failed for task ':flutter_local_notifications:compileDebugJavaWithJavac'. > Compilation failed; see the compiler output below. warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.warning: [options] source value 8 is obsolete and will be removed in a future releasewarning: [options] target value 8 is obsolete and will be removed in a future releaseC:\Users\Ryanl\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_local_notifications-14.1.1\android\src\main\java\com\dexterous\flutterlocalnotifications\FlutterLocalNotificationsPlugin.java:995: error: reference to bigLargeIcon is ambiguous bigPictureStyle.bigLargeIcon(null); ^ both method bigLargeIcon(Bitmap) in BigPictureStyle and method bigLargeIcon(Icon) in BigPictureStyle match 1 error 3 warnings
* Try: > Check your code and dependencies to fix the compilation error(s) > Run with --scan to get full insights.
BUILD FAILED in 36s Error: Gradle task assembleDebug failed with exit code 1 도무지 어떻게 해결해야될지를 모르겠습니다
2025년 5월 29일 22:17 #139609
싱가리참가자챗gpt한테도 물어봤는데 C:\Users\Ryanl\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_local_notifications-14.1.1\android\src\main\java\com\dexterous\flutterlocalnotifications\FlutterLocalNotificationsPlugin.java 들어가서 bigPictureStyle.bigLargeIcon(null); 이거를 bigPictureStyle.bigLargeIcon((Bitmap) null); 이거로 바꾸라고 하길래 바꿔서 해결했습니다... 뭐 나중에 flutter clean 하면 날아갈거라 임시방편이라고 하는데, 문제가 될까요??
-
글쓴이글
3 글 보임 - 1 에서 3 까지 (총 3 중에서)
- 답변은 로그인 후 가능합니다.