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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

support-compat version problem causes build failure #28

Closed
1 task
jamespfinn opened this issue Oct 9, 2018 · 1 comment 路 Fixed by #30
Closed
1 task

support-compat version problem causes build failure #28

jamespfinn opened this issue Oct 9, 2018 · 1 comment 路 Fixed by #30
Assignees
Milestone

Comments

@jamespfinn
Copy link

馃悰 Bug Report

After adding the plugin to pubspec.yaml, the project fails to build:
`FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:preDebugBuild'.

Android dependency 'com.android.support:support-compat' has different version for the compile (27.0.2) and runtime (27.1.1) classpath. You should manually set the same version via DependencyResolution
`

Expected behavior

Successful build.

Reproduction steps

Build a project with these plugins in pubspec.yaml:

name: flutter_app
description: A new Flutter application.

dependencies:
  http: "^0.11.3+16"
  flutter:
    sdk: flutter

  cupertino_icons: ^0.1.0
  cached_network_image: "^0.4.0"
  firebase_auth: ^0.5.20
  intl: ^0.15.6
  flutter_launcher_icons: "^0.6.1"
  font_awesome_flutter: ^8.0.1
  flutter_facebook_login: ^1.1.1
  google_sign_in: ^3.0.5
  shared_preferences: ^0.4.3
  location: ^1.4.1
  permission_handler: '^2.0.0'

flutter_icons:
  image_path: "icon/u.png"
  android: trued
  ios: true

dev_dependencies:
  flutter_test:
    sdk: flutter

flutter:
  uses-material-design: true

Configuration

Version: 1.x and 2.x

Platform:

  • 馃摫 iOS
  • [x ] 馃 Android
@mvanbeusekom mvanbeusekom added this to the 2.0.1 milestone Oct 10, 2018
@mvanbeusekom mvanbeusekom self-assigned this Oct 10, 2018
mvanbeusekom added a commit that referenced this issue Oct 10, 2018
Fix error with dependency on Android Support
@mvanbeusekom
Copy link
Member

@jamespfinn thank you very much for your feedback.

We have just release version 2.0.1 of this plugin which should solve this issue.

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

Successfully merging a pull request may close this issue.

2 participants