Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android device cannot add pictures. #29

Closed
no-chili opened this issue May 10, 2024 · 3 comments
Closed

Android device cannot add pictures. #29

no-chili opened this issue May 10, 2024 · 3 comments

Comments

@no-chili
Copy link

//log

E/OpenGLRenderer( 6761): Unable to match the desired swap behavior.
W/WindowOnBackDispatcher( 6761): sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@a1a7032

//env

[✓] Flutter (Channel stable, 3.19.6, on macOS 13.6 22G120 darwin-arm64, locale zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.88.0)
[✓] Connected device (4 available)            
[✓] Network resources

! Doctor found issues in 1 category.
@howljs
Copy link
Owner

howljs commented May 11, 2024

//log

E/OpenGLRenderer( 6761): Unable to match the desired swap behavior.
W/WindowOnBackDispatcher( 6761): sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@a1a7032

//env

[✓] Flutter (Channel stable, 3.19.6, on macOS 13.6 22G120 darwin-arm64, locale zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.88.0)
[✓] Connected device (4 available)            
[✓] Network resources

! Doctor found issues in 1 category.

Thanks for your report. What is your Android version?

@no-chili
Copy link
Author

no-chili commented May 12, 2024

  minSdkVersion 21

I'm sorry, I don't know where to check the Android version, but I received many user feedbacks stating that they are unable to add images. After confirming, I switched back to the 'image_picker' package on the Android side, and it works fine on iOS.

@no-chili
Copy link
Author

I apologize, but the reason for the inability to add is due to my incorrect renaming of the file, and there is no issue with the plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants