Flutter in Opera

huangapple go评论70阅读模式
英文:

Flutter in Opera

问题

如何将Opera,最好是Opera GX,添加到可用于在Web上运行Flutter应用程序的浏览器中?

当我运行命令'flutter run -d opera'时,它没有访问到该'设备ID',只有Chrome和Edge。

进入图像描述

英文:

How do I add opera, preferably opera GX, to the available browsers to run a flutter app on the web?

When I run the command 'flutter run -d opera' it doesn't access that 'device id', only chrome and edge.

enter image description here

答案1

得分: -1

Opera 不支持作为开发目标。根据官方文档:

> Flutter 支持哪些网络浏览器?Flutter 网页应用程序可以在以下浏览器上运行:
>
> Chrome(移动和桌面)Safari(移动和桌面)Edge(移动和桌面)Firefox(移动和桌面)

>在开发过程中,Chrome(在 macOS、Windows 和 Linux 上)和 Edge(在 Windows 上)被支持作为默认的用于调试应用程序的浏览器。

请注意,你的应用程序可能会在 Opera 上正常运行,只是不支持用于调试代码(如 flutter run)。

英文:

Opera is not supported as a development target. As per the official documentation:

> Which web browsers are supported by Flutter? Flutter web apps can run
> on the following browsers:
>
> Chrome (mobile & desktop) Safari (mobile & desktop) Edge (mobile &
> desktop) Firefox (mobile & desktop)

>During development, Chrome (on
> macOS, Windows, and Linux) and Edge (on Windows) are supported as the
> default browsers for debugging your app.

Note that, your app will probably run fine on Opera, it's just not supported for debugging your code (as in flutter run)

huangapple
  • 本文由 发表于 2023年7月3日 20:17:41
  • 转载请务必保留本文链接:https://go.coder-hub.com/76604665.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定