当我尝试在chrome上运行我的flutter应用程序时,我遇到了一个问题,我得到了这个错误 无法启动浏览器。请确保您使用的是最新的Chrome或Edge。否则,请考虑使用-d web服务器,并向https://github.com/flutter/flutter/issues提交问题。 我试着运行flutter doctor,结果如下: Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 2.5.0-5.2.pre, on Ubuntu 21.04 5.11.0-31-
我有一个Flutter项目,我已经运行了它,暂时一切都很好。但是在一些运行之后,发生了一个错误。我无法再次运行flutter项目,这是错误消息
Could not find an option named "dart-define".
Run 'flutter -h' (or 'flutter <command> -h') for available flutter commands and options.
如何修复此错误?谢谢!
我无法在VS Code中启动Dart Dev工具,当我在调试模式下启动时,它会打开一个chrome窗口,显示为Connect to a running app Enter a port or URL to a running Dart or Flutter application.
当我将鼠标悬停在Dart DevTools按钮上时,它显示了一个端口,但我仍然无法连接到它。
有什么想法吗?
我使用的是M1 Mini,蒙特利12.0.1,带有XCode 13.1 &它是命令行工具和新安装的颤振MacOS 2.8.0。我创建一个基本颤振项目
flutter create appname
当我在ios文件夹中执行“颤振运行”(在它在Chrome中启动ok的父文件夹中)时,我得到消息:
Could not build the application for the simulator.
Error launching application on iPhone 13.
我试着用模拟器运行,但没有。看起来,Runner XCode项目构建阶段运行一个脚本xcode_backend.
我使用安装了颤振测试版。启用的网页:
flutter channel beta
flutter upgrade
flutter config --enable-web
结果是:
Setting "enable-web" value to "true".
You may need to restart any open editors for them to read new settings.
flutter devices命令的结果:
>flutter devices
1 connected device:
Web Server • web-s
我刚刚创建了一个新的颤振项目,没有添加依赖项,我得到了这个错误
‘*出了什么问题:评估项目出现了问题':app’。
com.android.build.gradle.internal.crash.PluginCrashReporter`类无法初始化
`
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.8, on Microsoft Windows [Version 10.0.19043.2251], locale en-US)
Checking A
我已经更新了我的应用程序包,包括url_launcher包,从6.0.20到6.1.2。
在更新之后,许多Android用户(API 30/31/32)报告说,由于错误,他们无法使用Google应用程序启动导航到定义的点(纬度和经度):
Webpage not available.
Webpage not available
The webpage at intent://maps.app.goo.gl/?
link=https://www.google.com/maps/dir//45.8597077,.........
could not be loaded because:
net:
我有一个小小的颤振应用程序,AndroidStudio (北极福克斯2020.3.1修补程序2)正在抱怨以下错误
在android/app/build.gradle中:
无法解析符号“GradleException”
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.1, on macOS 11.6 20G165 darwin-x64, locale en-US)
[✓] Android toolchain - develop f
自从Android Studio4发布以来,启动对话框缺少创建新flutter项目的选项。我已经尝试了这里提到的所有解决方案
但还是不走运!该怎么办呢?有没有人可以使用AS 4.0.1??
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.20.0-7.2.pre, on Microsoft Windows [Version 10.0.19041.388], locale en-US)
[✓] Android toolchain - develop fo
我有个flutter项目。在升级flutter sdk之前,我在我的project.Everything中添加了web支持。我使用的是master sdk。 现在,当我尝试运行我的应用程序时,我得到了这个错误: $ flutter run -d chrome
Warning: You are using these overridden dependencies:
! analyzer 0.39.16
Running "flutter pu
最近,我将我的项目迁移到一个新的系统,并纠正了所有的错误,但我得到了一个异常,要求提供flutter源目录。我添加了flutter SDK路径并检查了,但我仍然无法解决问题。
FAILURE: Build failed with an exception.
* Where:
Script 'C:\src\flutterSDK\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 572
* What went wrong:
A problem occurred evaluating root project