gpt4 book ai didi

Run command flutter in Android Studio terminal problem(Android Studio终端运行命令抖动问题)

转载 作者:bug小助手 更新时间:2023-10-24 18:56:42 26 4
gpt4 key购买 nike



In Android Studio Flutter project, whenever I run anything on terminal for example flutter pub add device_preview it will pop up How do you want to open this file? Is this normal? How do I actually run this command?

在Android Studio Ffltter项目中,每当我在终端上运行任何东西时,例如Ffltter pub添加DEVICE_PREVIEW,它都会弹出,你想如何打开这个文件?这正常吗?我应该如何实际运行此命令?


pop up message


I run command help 'help' seems it give a response, so could it be something to do with my Flutter? If I run flutter doctor on CMD it's all fine all tick. My flutter PATH environment is fine. I can produce bundle, app, run preview on other project, but I want to get deep down to this issue to run flutter command manually in the terminal.

我运行命令HELP‘HELP’似乎有响应,会不会与我的颤动有关?如果我在CMD上运行扑动医生,一切都很好。我的颤振路径环境很好。我可以制作捆绑包,应用程序,在其他项目上运行预览,但我想深入到这个问题,在终端手动运行颤动命令。


help response


更多回答
优秀答案推荐

Maybe I answer my own question, but the way I resolve this issue by delete an empty 1 kilobyte file name 'flutter' in my Document, which flutter try to refer to despite my PATH environment variable already indicate correctly flutter\bin folder is on C drive, then I restart PC. Guess what flutter create another empty flutter file this time on system32 so delete and restart again then it work. Initially my flutter\bin file was with other tool folder too so I just separate it make flutter standalone folder C:\flutter instead of C:\ssc\flutter what not.

也许我回答了我自己的问题,但我解决这个问题的方法是删除我的文档中一个空的1千字节文件名‘Ffltter’,尽管我的PATH环境变量已经正确地指出Ffltter\bin文件夹在C盘上,但Ffltter仍试图引用它,然后我重新启动PC。猜猜是什么颤动创建了另一个空的颤动文件,这一次是在系统32上,所以删除并重新启动,然后它就可以工作了。最初,我的Ffltter\bin文件也与其他工具文件夹放在一起,所以我只是将其分开,使Ffltter成为独立的文件夹C:\Ffltter,而不是C:\SSC\Ffltter What Not。


更多回答

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