781flyingdutchman / background_downloader

Flutter plugin for file downloads and uploads
Other
158 stars 73 forks source link

After upgrading Flutter to stable version 3.13.0, the system back button functionality in Android is behaving abnormally. #118

Closed popsams closed 1 year ago

popsams commented 1 year ago

Describe the bug After upgrading Flutter to stable version 3.13.0, the system back button functionality in Android is behaving abnormally. In this corresponding version, 'background_downloader: ^7.9.1' is used. The expected behavior is to navigate to the previous page, but it's causing the app to exit instead.

To Reproduce Steps to reproduce the behavior:

  1. Create a new project
  2. Install background_downloader: ^7.9.1
  3. Using Navigator.of(context).push(...);
  4. Pressing the Android system's back button
  5. The app exited
  6. Remove the component background_downloader: ^7.9.1
  7. Pressing the Android system's back button restores normal functionality.

Expected behavior Fix this issue

Logs If possible, include logs that capture the issue:

logs

Code If possible, paste in the code snippet where you interact with the package:

Code

Additional context Add any other context about the problem here.

781flyingdutchman commented 1 year ago

Can you provide logs that point to the actual error that is occurring? Thanks.

popsams commented 1 year ago

code: Navigator.of(context).push( MaterialPageRoute(builder: (context) => const DemoPage()), );

Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source! Launching lib\main.dart on SM S9160 in debug mode... Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!

FAILURE: Build failed with an exception.

BUILD FAILED in 5s Exception: Gradle task assembleDebug failed with exit code 1 Exited (sigterm)

--

[flutter] flutter doctor -v Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source! [!] Flutter (Channel [user-branch], 3.13.0, on Microsoft Windows [版本 10.0.19045.3324], locale zh-CN) ! Flutter version 3.13.0 on channel [user-branch] at D:\Code\flutter Currently on an unknown channel. Run flutter channel to switch to an official channel. If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install. • Upstream repository https://github.com/flutter/flutter.git • Framework revision efbf63d9c6 (2 days ago), 2023-08-15 21:05:06 -0500 • Engine revision 1ac611c64e • Dart version 3.1.0 • DevTools version 2.25.0 • Pub download mirror https://pub.flutter-io.cn • Flutter download mirror https://storage.flutter-io.cn • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0) • Android SDK at D:\Android\Android-Sdk • Platform android-33, build-tools 33.0.0 • ANDROID_HOME = D:\Android\Android-Sdk • ANDROID_SDK_ROOT = D:\Android\Android-Sdk • Java binary at: D:\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted.

[√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Enterprise 2022 17.6.6) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Enterprise • Visual Studio Enterprise 2022 version 17.6.33927.249 • Windows 10 SDK version 10.0.22000.0

[√] Android Studio (version 2021.3) • Android Studio at D:\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • android-studio-dir = D:\Android\Android Studio • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[√] VS Code (version 1.79.1) • VS Code at C:\Users\hylsa\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.70.0

[√] Connected device (4 available) • SM S9160 (mobile) • R5CW146A7FD • android-arm64 • Android 13 (API 33) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [版本 10.0.19045.3324] • Chrome (web) • chrome • web-javascript • Google Chrome 115.0.5790.173 • Edge (web) • edge • web-javascript • Microsoft Edge 114.0.1823.43

! Doctor found issues in 1 categories. exit code 0

untitled.zip

781flyingdutchman commented 1 year ago

See issue #26

popsams commented 1 year ago

See issue #26

Hello, you didn't quite understand my point. What I meant is that upgrading to Flutter 3.13 will lead to issues with routing. You can try creating a new project to see for yourself. The error I provided above is not the main focus; it can be fixed. However, my concern is not about this error but rather about the routing problem.

background_downloader routing.zip

781flyingdutchman commented 1 year ago

Hi, yes I think I understand the issue, but the error logs you provided don't speak to that at all, and because it is very unclear to me how this routing issue is related to the background_downloader (which does nothing w.r.t. routing) I think it's important to clean up the warnings and get the logs for the point where the app apparently exits (not the build logs).

popsams commented 1 year ago

Hi, yes I think I understand the issue, but the error logs you provided don't speak to that at all, and because it is very unclear to me how this routing issue is related to the background_downloader (which does nothing w.r.t. routing) I think it's important to clean up the warnings and get the logs for the point where the app apparently exits (not the build logs).

Below is the collected log, hoping it will be helpful to you. The attachment contains the reproducible code. Please download it locally and give it a try. There is indeed a routing issue.

background_downloader routing.zip

To Reproduce Steps to reproduce the behavior:

  1. Install background_downloader: ^7.9.1
  2. Using Navigator.of(context).push(...);
  3. Pressing the Android system's back button, the app exited
  4. Remove the component background_downloader: ^7.9.1
  5. Pressing the Android system's back button restores normal functionality.

logs: I/ViewRootImpl@6ca3666MainActivity: ViewPostIme pointer 0 I/ViewRootImpl@6ca3666MainActivity: ViewPostIme pointer 1 I/ViewRootImpl@6ca3666MainActivity: MSG_WINDOW_FOCUS_CHANGED 0 0 D/InputTransport(16516): Input channel destroyed: 'ClientS', fd=139 I/ViewRootImpl@6ca3666MainActivity: handleAppVisibility mAppVisible = true visible = false I/SurfaceView@da71542(16516): onWindowVisibilityChanged(8) false io.flutter.embedding.android.FlutterSurfaceView{da71542 V.E...... ........ 0,0-1080,2205} of ViewRootImpl@6ca3666[MainActivity] I/SurfaceView@da71542(16516): Changes: creating=false format=false size=false visible=true alpha=false hint=false mUseAlpha=false visible=true left=false top=false I/SurfaceView@da71542(16516): 229053762 Cur surface: Surface(name=null)/@0xeb10e20 I/SurfaceView@da71542(16516): applyTransactionOnVriDraw: vri = ViewRootImpl@6ca3666[MainActivity] fRS = false t = 0xb400007a1832e100 android.view.SurfaceView.performSurfaceTransaction:959 android.view.SurfaceView.updateSurface:1105 android.view.SurfaceView.onWindowVisibilityChanged:371 I/ViewRootImpl@6ca3666MainActivity: applyTransactionOnDraw: mRemoved = false isHardwareEnabled = true t = 0xb400007a1832e100android.view.SurfaceView.applyTransactionOnVriDraw:2048 android.view.SurfaceView.performSurfaceTransaction:959 android.view.SurfaceView.updateSurface:1105 android.view.SurfaceView.onWindowVisibilityChanged:371 android.view.View.dispatchWindowVisibilityChanged:15943 I/SurfaceView@da71542(16516): surfaceDestroyed I/SurfaceView@da71542(16516): surfaceDestroyed callback.size 1 #2 io.flutter.embedding.android.FlutterSurfaceView{da71542 V.E...... ........ 0,0-1080,2205} I/SurfaceView@da71542(16516): updateSurface: mVisible = false mSurface.isValid() = true I/SurfaceView@da71542(16516): releaseSurfaces: viewRoot = ViewRootImpl@6ca3666[MainActivity] I/SurfaceView@da71542(16516): applyTransactionOnVriDraw: vri = ViewRootImpl@6ca3666[MainActivity] fRS = true t = 0xb400007a96298000 android.view.SurfaceView.releaseSurfaces:858 android.view.SurfaceView.updateSurface:1172 android.view.SurfaceView.onWindowVisibilityChanged:371 I/SurfaceView@da71542(16516): applyTransactionOnVriDraw: viewRoot.applyTransactionOnDrawFromReleaseSurfaces I/ViewRootImpl@6ca3666MainActivity: from releaseSurfaces t.apply t = 0xb400007a96298000 V/SurfaceView@da71542(16516): Layout: x=0 y=0 w=1080 h=2205, frame=Rect(0, 0 - 1080, 2205) D/SurfaceView@da71542(16516): windowPositionLost, frameNr = 0 D/OpenGLRenderer(16516): setSurface called with nullptr D/OpenGLRenderer(16516): setSurface() destroyed EGLSurface D/OpenGLRenderer(16516): destroyEglSurface I/ViewRootImpl@6ca3666MainActivity: performTraversals mFirst=false windowShouldResize=false viewVisibilityChanged=true mForceNextWindowRelayout=false params=null I/ViewRootImpl@6ca3666MainActivity: Relayout returned: old=(0,0,1080,2340) new=(0,0,1080,2340) req=(1080,2340)8 dur=9 res=0x2 s={false 0x0} ch=true seqId=0 I/SurfaceView@da71542(16516): windowStopped(true) false io.flutter.embedding.android.FlutterSurfaceView{da71542 V.E...... ........ 0,0-1080,2205} of ViewRootImpl@6ca3666[MainActivity] D/SurfaceView@da71542(16516): updateSurface: surface is not valid I/SurfaceView@da71542(16516): releaseSurfaces: viewRoot = ViewRootImpl@6ca3666[MainActivity] I/SurfaceView@da71542(16516): applyTransactionOnVriDraw: vri = ViewRootImpl@6ca3666[MainActivity] fRS = true t = 0xb400007aa856b100 android.view.SurfaceView.releaseSurfaces:858 android.view.SurfaceView.updateSurface:998 android.view.SurfaceView.setWindowStopped:335 I/SurfaceView@da71542(16516): applyTransactionOnVriDraw: viewRoot.applyTransactionOnDrawFromReleaseSurfaces I/ViewRootImpl@6ca3666MainActivity: from releaseSurfaces t.apply t = 0xb400007aa856b100 D/SurfaceView@da71542(16516): updateSurface: surface is not valid I/SurfaceView@da71542(16516): releaseSurfaces: viewRoot = ViewRootImpl@6ca3666[MainActivity] I/SurfaceView@da71542(16516): applyTransactionOnVriDraw: vri = ViewRootImpl@6ca3666[MainActivity] fRS = true t = 0xb400007aa856b200 android.view.SurfaceView.releaseSurfaces:858 android.view.SurfaceView.updateSurface:998 android.view.SurfaceView.lambda$new$0$android-view-SurfaceView:200 I/SurfaceView@da71542(16516): applyTransactionOnVriDraw: viewRoot.applyTransactionOnDrawFromReleaseSurfaces I/ViewRootImpl@6ca3666MainActivity: from releaseSurfaces t.apply t = 0xb400007aa856b200 I/ViewRootImpl@6ca3666MainActivity: stopped(true) old = false I/ViewRootImpl@6ca3666MainActivity: WindowStopped on com.example.untitled/com.example.untitled.MainActivity set to true D/SurfaceView@da71542(16516): updateSurface: surface is not valid I/SurfaceView@da71542(16516): releaseSurfaces: viewRoot = ViewRootImpl@6ca3666[MainActivity] I/SurfaceView@da71542(16516): applyTransactionOnVriDraw: vri = ViewRootImpl@6ca3666[MainActivity] fRS = true t = 0xb400007aa856b300 android.view.SurfaceView.releaseSurfaces:858 android.view.SurfaceView.updateSurface:998 android.view.SurfaceView.setVisibility:392 I/SurfaceView@da71542(16516): applyTransactionOnVriDraw: viewRoot.applyTransactionOnDrawFromReleaseSurfaces I/ViewRootImpl@6ca3666MainActivity: from releaseSurfaces t.apply t = 0xb400007aa856b300 I/MSHandlerLifeCycle(16516): removeMultiSplitHandler: no exist. decor=DecorView@b899fcb[MainActivity] D/SurfaceView@da71542(16516): updateSurface: surface is not valid I/SurfaceView@da71542(16516): releaseSurfaces: viewRoot = ViewRootImpl@6ca3666[MainActivity] I/SurfaceView@da71542(16516): applyTransactionOnVriDraw: vri = ViewRootImpl@6ca3666[MainActivity] fRS = true t = 0xb400007aa856b400 android.view.SurfaceView.releaseSurfaces:858 android.view.SurfaceView.updateSurface:998 android.view.SurfaceView.lambda$new$0$android-view-SurfaceView:200 I/SurfaceView@da71542(16516): applyTransactionOnVriDraw: viewRoot.applyTransactionOnDrawFromReleaseSurfaces I/ViewRootImpl@6ca3666MainActivity: from releaseSurfaces t.apply t = 0xb400007aa856b400

781flyingdutchman commented 1 year ago

Can you try setting the onbackinvokedcallback to false in the manifest? Its the only place i could possibly see the downloader interfere with navigation, because again none of the log messages you've provided reference the downloader, and it's not clear from the logs where an error occurs.

popsams commented 1 year ago

Can you try setting the onbackinvokedcallback to false in the manifest? Its the only place i could possibly see the downloader interfere with navigation, because again none of the log messages you've provided reference the downloader, and it's not clear from the logs where an error occurs.

Why don't you run the code yourself to give it a try, brother? I just identified where the issue is

QQ截图20230819165457

781flyingdutchman commented 1 year ago

It is that line, related to a new feature in Android 33 (see here). I've pushed a new version to the dev branch and that works with the code you sent. Can you try it with your original code to make sure it indeed solves the issue?

Use this in your pubspec.yaml:

background_downloader:
    git:
      url: https://github.com/781flyingdutchman/background_downloader.git
      ref: dev

Let me know if it works, and if so I'll publish it.

popsams commented 1 year ago

It is that line, related to a new feature in Android 33 (see here). I've pushed a new version to the dev branch and that works with the code you sent. Can you try it with your original code to make sure it indeed solves the issue?

Use this in your pubspec.yaml:

background_downloader:
    git:
      url: https://github.com/781flyingdutchman/background_downloader.git
      ref: dev

Let me know if it works, and if so I'll publish it.

118

log: Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source! Launching lib\main.dart on SM S9160 in debug mode... Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source! ������ʽ����ȷ - e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\BackgroundDownloaderPlugin.kt: (52, 7): Redeclaration: BackgroundDownloaderPlugin e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\BackgroundDownloaderPlugin.kt: (181, 40): Overload resolution ambiguity: public fun getTaskMap(prefs: SharedPreferences): MutableMap<String, Any> defined in com.bbflight.background_downloader in file TaskWorker.kt public fun getTaskMap(prefs: SharedPreferences): MutableMap<String, Any> defined in com.bbflight.background_downloader in file TaskWorker.kt e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\BackgroundDownloaderPlugin.kt: (545, 25): Overload resolution ambiguity: public fun moveToSharedStorage(context: Context, filePath: String, destination: SharedStorage, directory: String, mimeType: String?): String? defined in com.bbflight.background_downloader in file SharedStorage.kt public fun moveToSharedStorage(context: Context, filePath: String, destination: SharedStorage, directory: String, mimeType: String?): String? defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\BackgroundDownloaderPlugin.kt: (554, 13): Overload resolution ambiguity: public fun moveToSharedStorage(context: Context, filePath: String, destination: SharedStorage, directory: String, mimeType: String?): String? defined in com.bbflight.background_downloader in file SharedStorage.kt public fun moveToSharedStorage(context: Context, filePath: String, destination: SharedStorage, directory: String, mimeType: String?): String? defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\BackgroundDownloaderPlugin.kt: (580, 24): Overload resolution ambiguity: public fun pathInSharedStorage(context: Context, filePath: String, destination: SharedStorage, directory: String): String? defined in com.bbflight.background_downloader in file SharedStorage.kt public fun pathInSharedStorage(context: Context, filePath: String, destination: SharedStorage, directory: String): String? defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\BackgroundDownloaderPlugin.kt: (596, 46): Overload resolution ambiguity: public fun getMimeType(fileName: String): String defined in com.bbflight.background_downloader in file SharedStorage.kt public fun getMimeType(fileName: String): String defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\BackgroundDownloaderPlugin.kt: (597, 46): Overload resolution ambiguity: public fun doOpenFile(activity: Activity, filePath: String, mimeType: String): Boolean defined in com.bbflight.background_downloader in file OpenFile.kt public fun doOpenFile(activity: Activity, filePath: String, mimeType: String): Boolean defined in com.bbflight.background_downloader in file OpenFile.kt e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\BackgroundDownloaderPlugin.kt: (664, 9): Overload resolution ambiguity: public fun acceptUntrustedCertificates(): Unit defined in com.bbflight.background_downloader in file TaskHelpers.kt public fun acceptUntrustedCertificates(): Unit defined in com.bbflight.background_downloader in file TaskHelpers.kt e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\BackgroundDownloaderPlugin.kt: (753, 54): Overload resolution ambiguity: public fun getMimeType(fileName: String): String defined in com.bbflight.background_downloader in file SharedStorage.kt public fun getMimeType(fileName: String): String defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\BackgroundDownloaderPlugin.kt: (828, 7): Redeclaration: ResultHandler e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\Models.kt: (17, 12): Redeclaration: BaseDirectory e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\Models.kt: (25, 12): Redeclaration: Updates e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\Models.kt: (39, 7): Redeclaration: Task e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\Models.kt: (217, 12): Redeclaration: TaskStatus e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\Models.kt: (237, 7): Redeclaration: ResumeData e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\Models.kt: (259, 12): Redeclaration: ExceptionType e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\Models.kt: (288, 7): Redeclaration: TaskException e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\Notifications.kt: (26, 7): Redeclaration: TaskNotification e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\Notifications.kt: (41, 7): Redeclaration: NotificationConfig e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\Notifications.kt: (56, 12): Redeclaration: NotificationType e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\Notifications.kt: (69, 7): Redeclaration: NotificationRcvr e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\OpenFile.kt: (11, 7): Redeclaration: OpenFileProvider e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\OpenFile.kt: (13, 1): Conflicting overloads: public fun doOpenFile(activity: Activity, filePath: String, mimeType: String): Boolean defined in com.bbflight.background_downloader in file OpenFile.kt, public fun doOpenFile(activity: Activity, filePath: String, mimeType: String): Boolean defined in com.bbflight.background_downloader in file OpenFile.kt e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\SharedStorage.kt: (20, 12): Redeclaration: SharedStorage e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\SharedStorage.kt: (22, 5): Conflicting declarations: public val leadingPathSeparatorRegEx: Regex, public val leadingPathSeparatorRegEx: Regex e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\SharedStorage.kt: (23, 5): Conflicting declarations: public val trailingPathSeparatorRegEx: Regex, public val trailingPathSeparatorRegEx: Regex e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\SharedStorage.kt: (31, 1): Conflicting overloads: public fun moveToSharedStorage(context: Context, filePath: String, destination: SharedStorage, directory: String, mimeType: String?): String? defined in com.bbflight.background_downloader in file SharedStorage.kt, public fun moveToSharedStorage(context: Context, filePath: String, destination: SharedStorage, directory: String, mimeType: String?): String? defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\SharedStorage.kt: (50, 9): Overload resolution ambiguity: public val trailingPathSeparatorRegEx: Regex defined in com.bbflight.background_downloader in file SharedStorage.kt public val trailingPathSeparatorRegEx: Regex defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\SharedStorage.kt: (50, 44): Overload resolution ambiguity: public val leadingPathSeparatorRegEx: Regex defined in com.bbflight.background_downloader in file SharedStorage.kt public val leadingPathSeparatorRegEx: Regex defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\SharedStorage.kt: (54, 9): Overload resolution ambiguity: public open fun put(p0: String!, p1: Boolean!): Unit defined in android.content.ContentValues public open fun put(p0: String!, p1: Byte!): Unit defined in android.content.ContentValues public open fun put(p0: String!, p1: ByteArray!): Unit defined in android.content.ContentValues public open fun put(p0: String!, p1: Double!): Unit defined in android.content.ContentValues public open fun put(p0: String!, p1: Float!): Unit defined in android.content.ContentValues public open fun put(p0: String!, p1: Int!): Unit defined in android.content.ContentValues public open fun put(p0: String!, p1: Long!): Unit defined in android.content.ContentValues public open fun put(p0: String!, p1: Short!): Unit defined in android.content.ContentValues public open fun put(p0: String!, p1: String!): Unit defined in android.content.ContentValues e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\SharedStorage.kt: (54, 60): Overload resolution ambiguity: public fun getMimeType(fileName: String): String defined in com.bbflight.background_downloader in file SharedStorage.kt public fun getMimeType(fileName: String): String defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\SharedStorage.kt: (158, 1): Conflicting overloads: public fun pathInSharedStorage(context: Context, filePath: String, destination: SharedStorage, directory: String): String? defined in com.bbflight.background_downloader in file SharedStorage.kt, public fun pathInSharedStorage(context: Context, filePath: String, destination: SharedStorage, directory: String): String? defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\SharedStorage.kt: (252, 1): Conflicting overloads: public fun getMimeType(fileName: String): String defined in com.bbflight.background_downloader in file SharedStorage.kt, public fun getMimeType(fileName: String): String defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\TaskHelpers.kt: (21, 1): Conflicting overloads: public fun acceptUntrustedCertificates(): Unit defined in com.bbflight.background_downloader in file TaskHelpers.kt, public fun acceptUntrustedCertificates(): Unit defined in com.bbflight.background_downloader in file TaskHelpers.kt e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\TaskHelpers.kt: (70, 1): Conflicting overloads: public fun insufficientSpace(applicationContext: Context, contentLength: Long): Boolean defined in com.bbflight.background_downloader in file TaskHelpers.kt, public fun insufficientSpace(applicationContext: Context, contentLength: Long): Boolean defined in com.bbflight.background_downloader in file TaskHelpers.kt e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\TaskWorker.kt: (54, 7): Redeclaration: TaskWorker e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\TaskWorker.kt: (238, 36): Overload resolution ambiguity: public fun getTaskMap(prefs: SharedPreferences): MutableMap<String, Any> defined in com.bbflight.background_downloader in file TaskWorker.kt public fun getTaskMap(prefs: SharedPreferences): MutableMap<String, Any> defined in com.bbflight.background_downloader in file TaskWorker.kt e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\TaskWorker.kt: (667, 17): Overload resolution ambiguity: public fun insufficientSpace(applicationContext: Context, contentLength: Long): Boolean defined in com.bbflight.background_downloader in file TaskHelpers.kt public fun insufficientSpace(applicationContext: Context, contentLength: Long): Boolean defined in com.bbflight.background_downloader in file TaskHelpers.kt e: C:\Users\stan\AppData\Local\Pub\Cache\git\background_downloader-691b38d2ecc9ae76ca1ab3a05f16cb59062f3e5a\android\src\main\kotlin\com\bbflight\background_downloader\TaskWorker.kt: (1624, 1): Conflicting overloads: public fun getTaskMap(prefs: SharedPreferences): MutableMap<String, Any> defined in com.bbflight.background_downloader in file TaskWorker.kt, public fun getTaskMap(prefs: SharedPreferences): MutableMap<String, Any> defined in com.bbflight.background_downloader in file TaskWorker.kt e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\BackgroundDownloaderPlugin.kt: (52, 7): Redeclaration: BackgroundDownloaderPlugin e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\BackgroundDownloaderPlugin.kt: (181, 40): Overload resolution ambiguity: public fun getTaskMap(prefs: SharedPreferences): MutableMap<String, Any> defined in com.bbflight.background_downloader in file TaskWorker.kt public fun getTaskMap(prefs: SharedPreferences): MutableMap<String, Any> defined in com.bbflight.background_downloader in file TaskWorker.kt e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\BackgroundDownloaderPlugin.kt: (545, 25): Overload resolution ambiguity: public fun moveToSharedStorage(context: Context, filePath: String, destination: SharedStorage, directory: String, mimeType: String?): String? defined in com.bbflight.background_downloader in file SharedStorage.kt public fun moveToSharedStorage(context: Context, filePath: String, destination: SharedStorage, directory: String, mimeType: String?): String? defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\BackgroundDownloaderPlugin.kt: (554, 13): Overload resolution ambiguity: public fun moveToSharedStorage(context: Context, filePath: String, destination: SharedStorage, directory: String, mimeType: String?): String? defined in com.bbflight.background_downloader in file SharedStorage.kt public fun moveToSharedStorage(context: Context, filePath: String, destination: SharedStorage, directory: String, mimeType: String?): String? defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\BackgroundDownloaderPlugin.kt: (580, 24): Overload resolution ambiguity: public fun pathInSharedStorage(context: Context, filePath: String, destination: SharedStorage, directory: String): String? defined in com.bbflight.background_downloader in file SharedStorage.kt public fun pathInSharedStorage(context: Context, filePath: String, destination: SharedStorage, directory: String): String? defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\BackgroundDownloaderPlugin.kt: (596, 46): Overload resolution ambiguity: public fun getMimeType(fileName: String): String defined in com.bbflight.background_downloader in file SharedStorage.kt public fun getMimeType(fileName: String): String defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\BackgroundDownloaderPlugin.kt: (597, 46): Overload resolution ambiguity: public fun doOpenFile(activity: Activity, filePath: String, mimeType: String): Boolean defined in com.bbflight.background_downloader in file OpenFile.kt public fun doOpenFile(activity: Activity, filePath: String, mimeType: String): Boolean defined in com.bbflight.background_downloader in file OpenFile.kt e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\BackgroundDownloaderPlugin.kt: (664, 9): Overload resolution ambiguity: public fun acceptUntrustedCertificates(): Unit defined in com.bbflight.background_downloader in file TaskHelpers.kt public fun acceptUntrustedCertificates(): Unit defined in com.bbflight.background_downloader in file TaskHelpers.kt e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\BackgroundDownloaderPlugin.kt: (753, 54): Overload resolution ambiguity: public fun getMimeType(fileName: String): String defined in com.bbflight.background_downloader in file SharedStorage.kt public fun getMimeType(fileName: String): String defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\BackgroundDownloaderPlugin.kt: (828, 7): Redeclaration: ResultHandler e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\Models.kt: (17, 12): Redeclaration: BaseDirectory e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\Models.kt: (25, 12): Redeclaration: Updates e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\Models.kt: (39, 7): Redeclaration: Task e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\Models.kt: (217, 12): Redeclaration: TaskStatus e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\Models.kt: (237, 7): Redeclaration: ResumeData e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\Models.kt: (259, 12): Redeclaration: ExceptionType e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\Models.kt: (261, 12): Cannot access '': it is private in 'ExceptionType' e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\Models.kt: (264, 15): Cannot access '': it is private in 'ExceptionType' e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\Models.kt: (267, 8): Cannot access '': it is private in 'ExceptionType' e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\Models.kt: (270, 15): Cannot access '': it is private in 'ExceptionType' e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\Models.kt: (273, 11): Cannot access '': it is private in 'ExceptionType' e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\Models.kt: (276, 17): Cannot access '': it is private in 'ExceptionType' e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\Models.kt: (288, 7): Redeclaration: TaskException e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\Notifications.kt: (26, 7): Redeclaration: TaskNotification e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\Notifications.kt: (41, 7): Redeclaration: NotificationConfig e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\Notifications.kt: (56, 12): Redeclaration: NotificationType e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\Notifications.kt: (69, 7): Redeclaration: NotificationRcvr e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\OpenFile.kt: (11, 7): Redeclaration: OpenFileProvider e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\OpenFile.kt: (13, 1): Conflicting overloads: public fun doOpenFile(activity: Activity, filePath: String, mimeType: String): Boolean defined in com.bbflight.background_downloader in file OpenFile.kt, public fun doOpenFile(activity: Activity, filePath: String, mimeType: String): Boolean defined in com.bbflight.background_downloader in file OpenFile.kt e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\SharedStorage.kt: (20, 12): Redeclaration: SharedStorage e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\SharedStorage.kt: (22, 5): Conflicting declarations: public val leadingPathSeparatorRegEx: Regex, public val leadingPathSeparatorRegEx: Regex e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\SharedStorage.kt: (23, 5): Conflicting declarations: public val trailingPathSeparatorRegEx: Regex, public val trailingPathSeparatorRegEx: Regex e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\SharedStorage.kt: (31, 1): Conflicting overloads: public fun moveToSharedStorage(context: Context, filePath: String, destination: SharedStorage, directory: String, mimeType: String?): String? defined in com.bbflight.background_downloader in file SharedStorage.kt, public fun moveToSharedStorage(context: Context, filePath: String, destination: SharedStorage, directory: String, mimeType: String?): String? defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\SharedStorage.kt: (50, 9): Overload resolution ambiguity: public val trailingPathSeparatorRegEx: Regex defined in com.bbflight.background_downloader in file SharedStorage.kt public val trailingPathSeparatorRegEx: Regex defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\SharedStorage.kt: (50, 44): Overload resolution ambiguity: public val leadingPathSeparatorRegEx: Regex defined in com.bbflight.background_downloader in file SharedStorage.kt public val leadingPathSeparatorRegEx: Regex defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\SharedStorage.kt: (54, 9): Overload resolution ambiguity: public open fun put(p0: String!, p1: Boolean!): Unit defined in android.content.ContentValues public open fun put(p0: String!, p1: Byte!): Unit defined in android.content.ContentValues public open fun put(p0: String!, p1: ByteArray!): Unit defined in android.content.ContentValues public open fun put(p0: String!, p1: Double!): Unit defined in android.content.ContentValues public open fun put(p0: String!, p1: Float!): Unit defined in android.content.ContentValues public open fun put(p0: String!, p1: Int!): Unit defined in android.content.ContentValues public open fun put(p0: String!, p1: Long!): Unit defined in android.content.ContentValues public open fun put(p0: String!, p1: Short!): Unit defined in android.content.ContentValues public open fun put(p0: String!, p1: String!): Unit defined in android.content.ContentValues e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\SharedStorage.kt: (54, 60): Overload resolution ambiguity: public fun getMimeType(fileName: String): String defined in com.bbflight.background_downloader in file SharedStorage.kt public fun getMimeType(fileName: String): String defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\SharedStorage.kt: (158, 1): Conflicting overloads: public fun pathInSharedStorage(context: Context, filePath: String, destination: SharedStorage, directory: String): String? defined in com.bbflight.background_downloader in file SharedStorage.kt, public fun pathInSharedStorage(context: Context, filePath: String, destination: SharedStorage, directory: String): String? defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\SharedStorage.kt: (252, 1): Conflicting overloads: public fun getMimeType(fileName: String): String defined in com.bbflight.background_downloader in file SharedStorage.kt, public fun getMimeType(fileName: String): String defined in com.bbflight.background_downloader in file SharedStorage.kt e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\TaskHelpers.kt: (21, 1): Conflicting overloads: public fun acceptUntrustedCertificates(): Unit defined in com.bbflight.background_downloader in file TaskHelpers.kt, public fun acceptUntrustedCertificates(): Unit defined in com.bbflight.background_downloader in file TaskHelpers.kt e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\TaskHelpers.kt: (70, 1): Conflicting overloads: public fun insufficientSpace(applicationContext: Context, contentLength: Long): Boolean defined in com.bbflight.background_downloader in file TaskHelpers.kt, public fun insufficientSpace(applicationContext: Context, contentLength: Long): Boolean defined in com.bbflight.background_downloader in file TaskHelpers.kt e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\TaskWorker.kt: (54, 7): Redeclaration: TaskWorker e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\TaskWorker.kt: (238, 36): Overload resolution ambiguity: public fun getTaskMap(prefs: SharedPreferences): MutableMap<String, Any> defined in com.bbflight.background_downloader in file TaskWorker.kt public fun getTaskMap(prefs: SharedPreferences): MutableMap<String, Any> defined in com.bbflight.background_downloader in file TaskWorker.kt e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\TaskWorker.kt: (667, 17): Overload resolution ambiguity: public fun insufficientSpace(applicationContext: Context, contentLength: Long): Boolean defined in com.bbflight.background_downloader in file TaskHelpers.kt public fun insufficientSpace(applicationContext: Context, contentLength: Long): Boolean defined in com.bbflight.background_downloader in file TaskHelpers.kt e: C:\Users\stan\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\background_downloader-7.9.1\android\src\main\kotlin\com\bbflight\background_downloader\TaskWorker.kt: (1624, 1): Conflicting overloads: public fun getTaskMap(prefs: SharedPreferences): MutableMap<String, Any> defined in com.bbflight.background_downloader in file TaskWorker.kt, public fun getTaskMap(prefs: SharedPreferences): MutableMap<String, Any> defined in com.bbflight.background_downloader in file TaskWorker.kt

FAILURE: Build failed with an exception.

BUILD FAILED in 13s Exception: Gradle task assembleDebug failed with exit code 1 Exited (sigterm)

781flyingdutchman commented 1 year ago

You should probably do Flutter Clean before doing another pub get

popsams commented 1 year ago

You should probably do Flutter Clean before doing another pub get

This issue has been fixed, and I've tested it successfully. Thank you very much

781flyingdutchman commented 1 year ago

Implemented in V7.9.2