重新安装android studio后出现的问题
由于未知原因,android studio无法启动 参考上述页面重新安装,并选择“卸载以前的版本” 在那之后,我开始了android studio的新版本 如果按照上一页所述运行测试重新安装android studio后出现的问题,android,android-studio,flutter,dart,Android,Android Studio,Flutter,Dart,由于未知原因,android studio无法启动 参考上述页面重新安装,并选择“卸载以前的版本” 在那之后,我开始了android studio的新版本 如果按照上一页所述运行测试 ../flutter/packages/flutter/lib/material.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.8. // Copy
../flutter/packages/flutter/lib/material.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.8.
// Copyright 2014 The Flutter Authors. All rights reserved.
^
../flutter/packages/flutter_test/lib/src/_goldens_io.dart:5:1: Error: The specified language version is too high. The highest supported language version is 2.8.
// @dart = 2.10
^^^^^^^^^^^^^^^
../flutter/packages/flutter_test/lib/src/_goldens_io.dart:65:48: Error: This requires the 'non-nullable' experiment to be enabled.
Try enabling this experiment by adding it to the command line when compiling and running.
LocalFileComparator(Uri testFile, {path.Style? pathStyle})
^
../flutter/packages/flutter_test/lib/src/_goldens_io.dart:69:42: Error: This requires the 'non-nullable' experiment to be enabled.
Try enabling this experiment by adding it to the command line when compiling and running.
static path.Context _getPath(path.Style? style) {
^
../flutter/packages/flutter_test/lib/src/_goldens_io.dart:73:50: Error: This requires the 'non-nullable' experiment to be enabled.
Try enabling this experiment by adding it to the command line when compiling and running.
static Uri _getBasedir(Uri testFile, path.Style? pathStyle) {
我得到了上面的错误
颤振医生的结果如下
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.22.2, on Mac OS X 10.15.7 19H2, locale ja-JP)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
[!] Android Studio (version 4.1)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[!] Android Studio (version 4.0)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Connected device (1 available)
! Doctor found issues in 2 categories.
这是否需要安装颤振和飞镖
然而,在这一点上,其他代码(默认计数器应用程序等)可以正常执行,所以我认为颤振和飞镖已经安装
然而,我认为颤振医生的结果是“安装颤振和飞镖”
Mac重启,
跑得干干净净
运行颤振升级
我在上面试过,但没有改变
我该怎么办。
按Ctrl-Alt-S(设置)
然后选择插件
然后搜索颤振
然后安装它
然后会提示安装dart
那你就可以走了
如果这不起作用
然后在您的机器上安装颤振,并使用android studio进行设置
试试这个youtube视频
happy coding此时,其他Dart代码(如默认计数器应用程序)可以正常运行,因此我认为已经安装了Flatter和Dart。所以我不能安装颤振和飞镖。事实上,当我打开设置屏幕时,颤振和省道已经被检查过,无法安装。然而,这并没有反映在《颤振博士》的结果中。我处于这种情况,我需要采取任何行动吗?你试过了吗?是的,我试过了。但我不能安装它。我想它已经安装好了。否则,颤振应用程序将无法运行。但是颤振医生说,“安装颤振和飞镖。”