Skip to content
This repository was archived by the owner on Jun 25, 2019. It is now read-only.

map_view: "^0.0.12" inompatible with sms: "^0.0.9"  #40

Open

Description

@nitneuq33

hello when I install map_view: "^0.0.12" with sms: "^0.0.9" I have this issue.

dependencies:
flutter:
sdk: flutter

The following adds the Cupertino Icons font to your application.
Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.0
sms: "^0.0.9"
map_view: "^0.0.12"

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:preDebugBuild'.
Android dependency 'com.android.support:support-v4' has different version for the compile (25.2.0) and runtime (27.1.0) classpath. You should manually set the same version via DependencyResolution

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 1s
Finished with error: Gradle build failed: 1

C:\flutter\bin\flutter.bat --no-color doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, v0.2.8, on Microsoft Windows [version 10.0.16299.309], locale fr-FR)
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[√] Android Studio (version 3.0)
[√] VS Code, 64-bit edition (version 1.21.1)
[√] Connected devices (1 available)

• No issues found!
Process finished with exit code 0

Activity

  1. johnpryan commented on Apr 18, 2018

    @johnpryan
    Contributor

    Does it work with map_view: "0.0.11"?

  2. nitneuq33 commented on Apr 18, 2018

    @nitneuq33
    Author

    I use this ( bellow ) to resolve the issue but I can"t launch the full map when I tap... I will continu to search. thank you for your quick reply

    subprojects {
    project.evaluationDependsOn(':app')
    project.configurations.all {
    resolutionStrategy.eachDependency { details ->
    if (details.requested.group == 'com.android.support'
    && !details.requested.name.contains('multidex') ) {
    details.useVersion "25.2.0"
    }
    }
    }
    project.evaluationDependsOn(':app')
    }

  3. nitneuq33 commented on Apr 18, 2018

    @nitneuq33
    Author

    sms: "^0.0.9" was update to sms: "^0.0.10" and remove the error. now no need to add my previous graddle modification. But impossible to see the map, it's ok with example but when I transfert the code into one of my three tab page, I have un error :

    compiler message: file:///C:/Users/utilisateur/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/quiver-0.28.0/lib/src/collection/lru_map.dart:264:24: Error: Getter not found: 'Maps'.
    compiler message: String toString() => Maps.mapToString(this);
    compiler message: ^^^^
    compiler message: file:///C:/Users/utilisateur/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/quiver-0.28.0/lib/src/collection/lru_map.dart:264:24: Error: The getter 'Maps' isn't defined for the class 'quiver.collection::LinkedLruHashMap<quiver.collection::LinkedLruHashMap::K, quiver.collection::LinkedLruHashMap::V>'.
    compiler message: Try correcting the name to the name of an existing getter, or defining a getter or field named 'Maps'.
    compiler message: String toString() => Maps.mapToString(this);
    compiler message:

    when I tap on the inkwell I have this message :

    I/flutter (28562): Another exception was thrown: API Key must be set before calling show. Use MapView.setApiKey

  4. matthewtsmith commented on Apr 18, 2018

    @matthewtsmith
    Member

    @nitneuq33 From that last part of the error it looks like you have not set the API Key in code by using MapView.setApiKey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions