Skip to content
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.

Conflict with image_picker #13

Closed
NatoBoram opened this issue Mar 27, 2018 · 1 comment
Closed

Conflict with image_picker #13

NatoBoram opened this issue Mar 27, 2018 · 1 comment

Comments

@NatoBoram
Copy link

In my dependencies, if I include both barcode_scan and image_picker, the project can not build.

flutter run
Launching lib/main.dart on Nexus 5 in debug mode...
Initializing gradle...                                0.8s
Resolving dependencies...                             0.9s
Running 'gradlew assembleDebug'...
Configuration 'compile' in project ':barcode_scan' is deprecated. Use 'implementation' instead.
/home/users/n.gendron/Flutter/image_picker_example/android/app/src/main/AndroidManifest.xml:28:13-35 Error:
        Attribute meta-data#android.support.VERSION@value value=(25.4.0) from [com.android.support:design:25.4.0] AndroidManifest.xml:28:13-35
        is also present at [com.android.support:appcompat-v7:26.1.0] AndroidManifest.xml:28:13-35 value=(26.1.0).
        Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:26:9-28:38 to override.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(25.4.0) from [com.android.support:design:25.4.0] AndroidManifest.xml:28:13-35
        is also present at [com.android.support:appcompat-v7:26.1.0] AndroidManifest.xml:28:13-35 value=(26.1.0).
        Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:26:9-28:38 to override.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 8s
Gradle build failed: 1
@NatoBoram
Copy link
Author

This seems to be fixed right now.

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

1 participant