bennyboer / bbb_app

Our attempt at a mobile app client for BigBlueButton services.
MIT License
102 stars 62 forks source link

dependency Problems #186

Open Lukas2019 opened 3 years ago

Lukas2019 commented 3 years ago

Describe the bug Problem withe intl ^0.16.1 dependency

Running "flutter pub get" in bbb_app-main...                    
Because bbb_app depends on flutter_localizations any from sdk which depends on intl 0.17.0, intl 0.17.0 is required.

So, because bbb_app depends on intl ^0.16.1, version solving failed.
pub get failed (1; So, because bbb_app depends on intl ^0.16.1, version solving failed.)
exit code 1

To Reproduce Wen Trying to run the error appears

Expected behavior The app should start.

Smartphone (please complete the following information): Android & Web

Operating System: Arch Linux

Additional context I removed the version Number in "pubspec.yaml" then it worked ( do not know if this is a good fix (newbe))

bennyboer commented 3 years ago

Can you add your Flutter SDK version please. Maybe you're using a newer one than we do :)

Faisalkc4u commented 3 years ago

Hi @bennyboer, I am facing the same issue I am using flutter 2.0.6. Could you let me know which flutter version you are using or this project ? Thanks

Faisalkc4u commented 3 years ago

I updated my pubspec.yml file to this

version: 0.2.6+8

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter
  cupertino_icons: ^1.0.3
  flutter_webrtc: ^0.6.5
  shared_preferences:
  shared_preferences_macos:
  shared_preferences_web:
  http: ^0.13.3
  html: ^0.15.0
  day_night_switcher: ^0.2.0+1
  provider: ^5.0.0
  intl: ^0.17.0
  sprintf: ^6.0.0
  flutter_svg: ^0.22.0
  sip_ua: #^0.3.5
    git: https://github.com/flutter-webrtc/dart-sip-ua.git
  flutter_markdown: ^0.6.2
  uni_links: ^0.5.1
  flutter_foreground_plugin: ^0.8.0
  logger: ^1.0.0
  bloc: ^7.0.0
  flutter_bloc: ^7.0.1 
  url_launcher: ^6.0.9
dependency_overrides:
  logger: ^0.9.0
  flutter_webrtc: ^0.5.8

dev_dependencies:
  flutter_test:
    sdk: flutter
  vector_math: any

And this is working for me, also I use flutter v2.0.6 stable

Flutter 2.0.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 1d9032c7e1 (10 weeks ago) • 2021-04-29 17:37:58 -0700
Engine • revision 05e680e202
Tools • Dart 2.12.3
bennyboer commented 3 years ago

Sorry for the delay, I kinda lost you in my inbox. We use Flutter 1.22.6. You can always check the workflow file at https://github.com/bennyboer/bbb_app/blob/main/.github/workflows/build.yml (search for flutter-version).

There is an issue regarding support for Flutter 2 (#183).