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

Incompatible with logging: ^1.0.0 #3

Open
abegehr opened this issue Jun 19, 2021 · 3 comments
Open

Incompatible with logging: ^1.0.0 #3

abegehr opened this issue Jun 19, 2021 · 3 comments

Comments

@abegehr
Copy link

abegehr commented Jun 19, 2021

Could you update the logging package version used in latlng to ^1.0.0?

[linksaver] flutter pub get
Running "flutter pub get" in linksaver...                       
Because no versions of latlong match >0.6.1 <0.7.0 and latlong 0.6.1 depends on logging >=0.11.3 <1.0.0, latlong ^0.6.1 requires logging >=0.11.3 <1.0.0.

And because json_serializable >=4.0.3 depends on build ^2.0.0 which depends on logging ^1.0.0, latlong ^0.6.1 is incompatible with json_serializable >=4.0.3.

So, because linksaver2 depends on both json_serializable ^4.1.3 and latlong ^0.6.1, version solving failed.
pub get failed (1; So, because linksaver2 depends on both json_serializable ^4.1.3 and latlong ^0.6.1, version solving failed.)
exit code 1
@abegehr
Copy link
Author

abegehr commented Jun 19, 2021

Getting another conflict with flutter test:

The current Dart SDK version is 2.13.3.

Because latlong <0.6.1 requires SDK version >=1.8.0 <2.0.0 and no versions of latlong match >0.6.1, latlong <0.6.1-∞ or >0.6.1 is forbidden.
And because latlong 0.6.1 depends on logging >=0.11.3 <1.0.0 and webkit_inspection_protocol >=1.0.0 depends on logging ^1.0.0, latlong is incompatible with webkit_inspection_protocol >=1.0.0.
And because test >=1.16.6 depends on webkit_inspection_protocol ^1.0.0 and every version of in_app_purchase_android depends on test ^1.16.0, if latlong any and in_app_purchase_android any then test >=1.16.0 <1.16.6.
And because in_app_purchase >=0.6.0 depends on in_app_purchase_android ^0.1.0 and test >=1.16.0-nullsafety.19 <1.16.6 depends on test_api 0.2.19, if latlong any and in_app_purchase >=0.6.0 then test_api 0.2.19.
And because every version of flutter_test from sdk depends on test_api 0.3.0 and linksaver2 depends on in_app_purchase ^1.0.5, latlong is incompatible with flutter_test from sdk.
So, because linksaver2 depends on both latlong any and flutter_test any from sdk, version solving failed.
pub get failed (1; So, because linksaver2 depends on both latlong any and flutter_test any from sdk, version solving failed.)
exit code 1

@xclud
Copy link
Owner

xclud commented Jun 19, 2021

@abegehr Can you paste output of flutter doctor -v?

@abegehr
Copy link
Author

abegehr commented Jun 22, 2021

@xclud, for sure!

➜  ~ flutter doctor -v
[✓] Flutter (Channel beta, 2.2.2, on macOS 12.0 21A5248p darwin-x64, locale en-DE)
    • Flutter version 2.2.2 at /Users/anton/development/flutter
    • Framework revision d79295af24 (11 days ago), 2021-06-11 08:56:01 -0700
    • Engine revision 91c9fc8fe0
    • Dart version 2.13.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/anton/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.57.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.23.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.0 21A5248p darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 91.0.4472.114
    ! Error: Anton’s iPhone is busy: Waiting for Device. Xcode will continue when Anton’s iPhone is finished. (code -10)

• No issues found!

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

No branches or pull requests

2 participants