英文:
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.
答案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
)
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论