当前位置: 首页 > news >正文

flutter命令行直接指定设备

> flutter driver

Found 3 connected devices:sdk gphone16k x86 64 (mobile) • emulator-5554 • android-x64    • Android 15 (API 35) (emulator)Linux (desktop)               • linux         • linux-x64      • Ubuntu 22.04.5 LTS 6.8.0-49-genericChrome (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.

可能是你模拟器没有起来

http://www.lryc.cn/news/504128.html

相关文章:

  • Spring核心--Bean后处理器
  • Windows子系统Ubuntu本地部署xinference以及接入dify详解
  • 如何实现接口继承与实现继承的区别?如何处理多态性与性能的平衡?
  • VR虚拟展厅的实时互动是如何实现的?
  • Java、鸿蒙与嵌入式开发:技术选择与职业发展分析
  • 28. Three.js案例-创建圆角矩形并进行拉伸
  • Shopee算法分析 - x-sap-ri
  • 日志相关的学习记录
  • HTML和JavaScript实现商品购物系统
  • 深度学习中的激活函数
  • 编写php项目所需环境
  • 华为机试HJ108 求最小公倍数
  • 【Python技术】同花顺wencai涨停分析基础上增加连板分析
  • 《拉依达的嵌入式\驱动面试宝典》—C/CPP基础篇(五)
  • 【LeetCode】3356、零数组变换 II
  • Vue 子组件修改父组件传过来的值的三种方式
  • 4.Python 数字类型
  • MacOs 日常故障排除troubleshooting
  • (补)算法刷题Day19:BM55 没有重复项数字的全排列
  • golang中的值传递与引用传递,如何理解结构体的方法?
  • linux部署ansible自动化运维
  • docker—私有仓库搭建
  • 【SpringAOP】深入浅出SpringAOP从原理到源码
  • Java 从查询超时到性能提升 (实战讲解)
  • 《C 语言携手 PaddlePaddle C++ API:开启深度学习开发新征程》
  • Mysql之存储过程
  • XV6 开发环境搭建
  • Windows 系统下 Python 环境安装
  • VMware Workstation的有线连接消失了
  • 73页车企大数据平台规划与数据价值挖掘应用咨询项目方案解读