ToB企服应用市场:ToB评测及商务社交产业平台

标题: flutter下令行直接指定装备 [打印本页]

作者: 张国伟    时间: 2024-12-16 18:29
标题: flutter下令行直接指定装备
> flutter driver
  1. Found 3 connected devices:
  2. sdk gphone16k x86 64 (mobile) • emulator-5554 • android-x64    • Android 15 (API 35) (emulator)
  3.   Linux (desktop)               • linux         • linux-x64      • Ubuntu 22.04.5 LTS 6.8.0-49-generic
  4.   Chrome (web)                  • chrome        • web-javascript • Google Chrome 131.0.6778.108
复制代码
第二列就是对应可以run的名称

> flutter run -d emulator-5554

参数
-d, --device-id             Target device id or name (prefixes allowed).
    --version               Reports the version of this tool.
    --enable-analytics      Enable telemetry reporting each time a flutter or dart command runs.
    --disable-analytics     Disable telemetry reporting each time a flutter or dart command runs, until it is re-enabled.
    --suppress-analytics    Suppress analytics reporting for the current CLI invocation.


Could not find method implementation() for arguments [androidx.lifecycle:lifecycle-extensions:2.7.0] on root project 'android' of type org.gradle.api.Project.

大概是你模拟器没有起来

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。




欢迎光临 ToB企服应用市场:ToB评测及商务社交产业平台 (https://dis.qidao123.com/) Powered by Discuz! X3.4