flutter / flutter/devtools

[deeplink] Path of my flutter project is not recognized

未关闭
#7,747 30 条评论 9 个 reaction 已指派 0 人 在 GitHub 查看
bug P1 product-quality screen: deep links
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

I'm trying to debug deep links as per this documentation https://docs.google.com/document/d/1fnWe8EpZleMtSmP0rFm2iulqS3-gA86z8u9IsnXjJak

It's asked to enter the path of the local project, but it seems my project cannot be well scanned. I'm always having the error dialog "You selected a non Flutter project".

My path looks like this
/Users/USERNAME/dev/MyApp

What's wrong?
___
**DevTools version**: 2.31.1
**IDE**: VSCode
**Connected Device**:
CPU / OS: arm64 (64 bit) android
Connected app type: Flutter native (debug build)
Dart Version: 3.3.4
Flutter Version: 3.19.6 / stable
Framework / Engine: 54e66469a9 / c4cd48e186

贡献指南

打开贡献指南

调研方向

使用提供的 VSCode、Flutter 3.19.6、Dart 3.3.4 和 Android 详细信息,复现 DevTools 2.31.1 中通过 deep-link 选择项目路径的流程。从本地路径 /Users/USERNAME/dev/MyApp 和链接的调试文档开始;当能够识别有效的 Flutter 项目,而不是显示 "You selected a non Flutter project." 时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart, flutter
领域
devtools
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。