DavBfr / json_intl

Flutter Internationalization library based on Json files
https://pub.dev/packages/json_intl
BSD 3-Clause "New" or "Revised" License
4 stars 0 forks source link

The latest example project does not build because of conflicting dependencies #1

Open akaenner opened 4 years ago

akaenner commented 4 years ago

Here is the output:

[example] flutter pub get Running "flutter pub get" in example...
Because every version of json_intl from path depends on path ^1.7.0 and every version of flutter_localizations from sdk depends on path 1.6.4, json_intl from path is incompatible with flutter_localizations from sdk.

So, because example depends on both flutter_localizations any from sdk and json_intl from path, version solving failed. pub get failed (1; So, because example depends on both flutter_localizations any from sdk and json_intl from path, version solving failed.) exit code 1

DavBfr commented 4 years ago

What flutter version do you use? can you give me the output of flutter doctor?

DavBfr commented 4 years ago

I lowered the dependency requirements, you should be fine now. path was updated to 1.7.0 yesterday.

akaenner commented 4 years ago

Here is the output:

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, v1.17.1, on Mac OS X 10.15.4 19E287, locale de-DE)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) [✓] Xcode - develop for iOS and macOS (Xcode 11.4.1) [✓] Android Studio (version 3.6) [✓] VS Code (version 1.45.0) [✓] Connected device (4 available)

• No issues found! (base) iMac:Herein_Android andreas$

Am 14.05.2020 um 12:33 schrieb David PHAM-VAN notifications@github.com:

I lowered the dependency requirements, you should be fine now. path was updated to 1.7.0 yesterday.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DavBfr/json_intl/issues/1#issuecomment-628546138, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKZLHETFE43KX6UGSYEIZTDRRPCHRANCNFSM4NAOWOKQ.

DavBfr commented 4 years ago

I hope it's fixed now? Could you translate the example strings to German for me, please?

https://github.com/DavBfr/json_intl/blob/master/example/assets/intl/strings.json

akaenner commented 4 years ago

Here it is:

{ "app_name": "Flutter Demo", "increment": "Erhöhen", "pushed": { "zero": "Bitte drücken Sie den Knopf.", "one": "Sie haben den Knopf einmal gedrückt.", "other": "Sie haben den Knopf {{ count }} mal gedrückt." }, "title": "Flutter Demo Startseite" }

I will test the fix later

Am 14.05.2020 um 16:48 schrieb David PHAM-VAN notifications@github.com:

I hope it's fixed now? Could you translate the example strings to German for me, please?

https://github.com/DavBfr/json_intl/blob/master/example/assets/intl/strings.json https://github.com/DavBfr/json_intl/blob/master/example/assets/intl/strings.json — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DavBfr/json_intl/issues/1#issuecomment-628684665, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKZLHEWJNPQEXXKHNF2CMJTRRQADHANCNFSM4NAOWOKQ.