-
Notifications
You must be signed in to change notification settings - Fork 371
Description
Version
3.8.0
Platforms
Android
Device Model
huawei p30 pro
flutter info
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel [user-branch], 3.19.0, on macOS 15.7.1 24G231 darwin-arm64, locale zh-Hans-CN)
! Flutter version 3.19.0 on channel [user-branch] at /Users/lingoace/.develop_sdks/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 unknown source is not a standard remote.
Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 26.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] Connected device (2 available)
[✓] Network resources
! Doctor found issues in 1 category.How to reproduce?
Selecting images and videos keeps loading indefinitely, and the following error is reported:
I/flutter ( 9121): [E]: message: {exception : Bad state: Failed to load ., stackTrace: }
I/flutter ( 9121): [E]: message: {error: PlatformException(The getAssetListPaged method has an error: Failed to obtain the cursor., java.lang.RuntimeException: Failed to obtain the cursor.
I/flutter ( 9121): at com.fluttercandies.photo_manager.core.utils.IDBUtils$DefaultImpls.throwMsg(IDBUtils.kt:892)
I/flutter ( 9121): at com.fluttercandies.photo_manager.core.utils.AndroidQDBUtils.throwMsg(AndroidQDBUtils.kt:26)
I/flutter ( 9121): at com.fluttercandies.photo_manager.core.utils.IDBUtils$DefaultImpls.logQuery(IDBUtils.kt:859)
I/flutter ( 9121): at com.fluttercandies.photo_manager.core.utils.AndroidQDBUtils.logQuery(AndroidQDBUtils.kt:26)
I/flutter ( 9121): at com.fluttercandies.photo_manager.core.utils.AndroidQDBUtils.getAssetListPaged(AndroidQDBUtils.kt:164)
I/flutter ( 9121): at com.fluttercandies.photo_manager.core.PhotoManager.getAssetListPaged(PhotoManager.kt:72)
I/flutter ( 9121): at com.fluttercandies.photo_manager.core.PhotoManagerPlugin.handleMethodResult(PhotoManagerPlugin.kt:373)
I/flutter ( 9121): at com.fluttercandies.photo_manager.core.PhotoManagerPlugin.handleOtherMethods$lambda$0(PhotoManagerPlugin.kt:276)
I/flutter ( 9121): at com.fluttercandies.photo_manager.core.Photo
Logs
Example code (optional)
Contact
No response