gpt4 book ai didi

android - 开发客户端 : No common URI schemes could be found for the native iOS and Android projects

转载 作者:行者123 更新时间:2023-12-04 14:53:11 27 4
gpt4 key购买 nike

我正在尝试使用命令 expo run:android 在 React Native 上运行项目.连接安卓设备。
构建成功。然后我在控制台中收到此消息

BUILD SUCCESSFUL in 30s 294 actionable tasks: 2 executed, 292up-to-date

Dev Client: No common URI schemes could be found for the native iOSand Android projects, this is required for opening the project

Add a common scheme with npx uri-scheme add my-scheme or provide ascheme with the --scheme flag

You can see all of the existing schemes for your native projects byrunning npx uri-scheme list

Starting Metro Bundler

No scheme specified for development client


通过 npx uri-scheme list 检查 URI 方案

› iOS: Schemes for config: ./ios\DogSafeProject\Info.plist

› Android: Schemes for config:./android\app\src\main\AndroidManifest.xml


请帮我!

最佳答案

我遇到了同样的问题并在我的终端中运行这个脚本完成了工作。

npx uri-scheme add <app name>.

关于android - 开发客户端 : No common URI schemes could be found for the native iOS and Android projects,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68692869/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com