将项目/文件夹混乱复制到另一台计算机

编程入门 行业动态 更新时间:2024-10-28 08:23:42
本文介绍了将项目/文件夹混乱复制到另一台计算机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我将笔记本中正在开发的项目复制到台式计算机,但是文件夹中flutter sdk的安装路径不同,这会导致项目出错,因为编译器找不到sdk .. 我需要更改哪些文件以正确引用桌面上的新sdk路径。

I copied a project that I am developing in the notebook to my desktop computer, but the path where the flutter sdk is installed in the folder is different, and this caused several errors in the project, since the compiler does not find the sdk .. which files I need to change to correctly reference the new sdk path on the desktop.

在此处输入图片描述

推荐答案

删除 .gitignore , android / .gitignore 和 ios /中列出的文件和文件夹。 gitignore 。它们会自动重新生成。

Delete the files and folders listed in .gitignore, android/.gitignore and ios/.gitignore. They are regenerated automatically.

如果使用Git(GitHub)进行提交和克隆,由于 .gitignore,这些文件和文件夹将被自动省略。 文件。

If you use Git (GitHub) to commit and clone, these files and folders will be omitted automatically because of .gitignore files.

更新

3个 .gitignore 文件统一在一个文件中。

The 3 .gitignore files where unified into a single one.

相关问题> github/flutter/flutter/issues/26014

更多推荐

将项目/文件夹混乱复制到另一台计算机

本文发布于:2023-11-09 13:50:11,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1572522.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件夹   另一台   混乱   计算机   项目

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!