[go: nahoru, domu]

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

image picker duplicate class error #35214

Closed
jocaagura opened this issue Jun 27, 2019 · 3 comments
Closed

image picker duplicate class error #35214

jocaagura opened this issue Jun 27, 2019 · 3 comments

Comments

@jocaagura
Copy link

When i tried make a build i found this error
`D8: Program type already present: android.support.v4.media.MediaBrowserCompat$CustomActionCallback

FAILURE: Build failed with an exception.`

other plugs that works perfectly into pubspec.yaml are:

  • cupertino_icons: ^0.1.2
    image_picker: ^0.6.0+10
    flutter_swiper: ^1.1.6
    http:
    qrcode_reader: ^0.4.4
    sqflite: ^1.1.0
    path_provider: ^1.1.0
    url_launcher: ^5.0.3
    google_maps_flutter: ^0.5.19
    shared_preferences: ^0.5.3+1
    rxdart: ^0.22.0

More info:
`*******************************************************************************************
The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.


Gradle task assembleDebug failed with exit code 1`

@saiof95
Copy link
saiof95 commented Jul 13, 2019

Use android x compatible plugins or migrate your project to android x. For more info visit https://flutter.dev/docs/development/packages-and-plugins/androidx-compatibility

@BondarenkoStas
Copy link

@jocaagura Closing the issue, please report if migrating didn't solve your problem.

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants