copy project / folder flutter to another computer

后端 未结 2 1684
庸人自扰
庸人自扰 2020-12-12 00:13

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 s

相关标签:
2条回答
  • 2020-12-12 00:15

    Delete .gitignore files:- There will be 3 .gitignore files

    1. In main directory
    2. In android directory
    3. In IOS directory

    I tried this procedure to run my flutter project which i built in fedora (linux) and copied and run in mac

    0 讨论(0)
  • 2020-12-12 00:17

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

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

    Update

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

    Related issue https://github.com/flutter/flutter/issues/26014

    0 讨论(0)
提交回复
热议问题