【发布时间】:2021-02-07 19:06:12
【问题描述】:
我的设备可以连接到其他项目,但为什么不能只连接这个项目我可以添加到项目中什么
PS C:\Users\timur\Desktop\Flutter-Slide-Puzzle-Hummingbird-master> 颤动运行
No supported devices connected. The following devices were found, but are not supported by this project: SM J260F (mobile) • 42007b95e43465bd • android-arm • Android 8.1.0 (API 27) If you would like your app to run on android, consider running flutter create . to generate projects for these platforms.
我运行“颤振创建”。在终端中,但显示此错误
Flutter-Slide-Puzzle-Hummingbird-master" is not a valid Dart package name.
【问题讨论】:
-
见What is package naming convention used in Dart?——你不能在包名中使用破折号。