What environment needed to build locally? #1525
Replies: 1 comment
-
OK, finally it works when flutter version changed to 3.19.0 and dart version is 3.3.0. Here is the environment: PS D:\1_project\flutter\spotube> flutter doctor -v [✓] Windows Version (Installed version of Windows is version 10 or higher) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Chrome - develop for the web [✓] Android Studio (version 2023.3) [✓] IntelliJ IDEA Ultimate Edition (version 2021.3) [✓] Connected device (3 available) [✓] Network resources • No issues found! |
Beta Was this translation helpful? Give feedback.
-
I tried two days to build the newest version locally, but still not success.
Here is my environment:
Operating System: Window 10 Enterprise 22H2
PS C:\Users\admin> flutter doctor -v
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[✓] Flutter (Channel stable, 3.16.0, on Microsoft Windows [版本 10.0.19045.4412], locale zh-CN)
• Flutter version 3.16.0 on channel stable at C:\BasicEnv\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision db7ef5bf9f (6 months ago), 2023-11-15 11:25:44 -0800
• Engine revision 74d16627b9
• Dart version 3.2.0
• DevTools version 2.28.2
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Windows Version (Installed version of Windows is version 10 or higher)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at C:\Software\Android\Sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: C:\Software\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.10+0--11572160)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[✓] Android Studio (version 2023.3)
• Android Studio at C:\Software\Android\Android Studio
• 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 17.0.10+0--11572160)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.3)
• IntelliJ at C:\Software\IntelliJ IDEA 2021.3.3
• 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
[✓] Connected device (3 available)
• sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 14 (API 34) (emulator)
• Chrome (web) • chrome • web-javascript • Google Chrome 124.0.6367.210
• Edge (web) • edge • web-javascript • Microsoft Edge 125.0.2535.51
[✓] Network resources
• All expected network resources are available.
• No issues found!
I also try to change flutter version to the newest 3.22 and 3.22.1, but when debuging to device, it always gets some different errors. So what's environment should I config?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions