File tree Expand file tree Collapse file tree 2 files changed +32
-2
lines changed Expand file tree Collapse file tree 2 files changed +32
-2
lines changed Original file line number Diff line number Diff line change @@ -120,8 +120,12 @@ see our [full setup guide](docs/setup.md).
120
120
We use the latest Flutter from Flutter's main branch.
121
121
Use ` flutter channel main ` and ` flutter upgrade ` .
122
122
123
- We don't pin a specific version, because Flutter itself doesn't offer
124
- a way to do so. So far that hasn't been a problem. When it becomes one,
123
+ Because each version of Flutter provides its own version of the
124
+ Dart SDK, this also means we use the latest Dart SDK.
125
+
126
+ We don't pin a specific Flutter version,
127
+ because Flutter itself doesn't offer a way to do so.
128
+ So far that hasn't been a problem. When it becomes one,
125
129
we'll figure it out; there are several tools for this in the Flutter
126
130
community. See [ issue #15 ] [ ] .
127
131
Original file line number Diff line number Diff line change @@ -88,6 +88,32 @@ To set up the development environment on Linux without Android Studio:
88
88
89
89
## Troubleshooting
90
90
91
+ <div id =" dart-sdk " />
92
+
93
+ ### Dart SDK version
94
+
95
+ You might see an error message about the Dart SDK version,
96
+ like so:
97
+ ```
98
+ $ flutter pub get
99
+ Resolving dependencies...
100
+ The current Dart SDK version is 3.6.0-216.1.beta.
101
+
102
+ Because zulip requires SDK version >=3.6.0-279.0.dev <4.0.0,
103
+ version solving failed.
104
+ Failed to update packages.
105
+ ```
106
+
107
+ This error message says your Dart SDK version is too old.
108
+ Because Flutter provides its own Dart SDK,
109
+ that means your Flutter version is too old.
110
+
111
+ To fix the issue, follow [ our setup instructions] [ readme-setup ]
112
+ by running ` flutter channel main ` and ` flutter upgrade ` .
113
+
114
+ For previous discussion of this symptom, see
115
+ [ this chat thread] ( https://chat.zulip.org/#narrow/stream/516-mobile-dev-help/topic/setup.3A.20Dart.20SDK.20dev.20version/near/1831351 ) .
116
+
91
117
92
118
<div id =" windows-modified-files " />
93
119
You can’t perform that action at this time.
0 commit comments