Åé
Flutter 2ãbiaoqian3€ âkoude0 の実行が必要ã§â
§ “允许拒绝”â€â€â€â€â«ã
$ flutter doctor
touch: cannot touch '/opt/flutter/bin/cache/.dartignore': Permission denied
root - 㪪sth â€â颁资? -
$ sudo flutter doctor
Woah! You appear to be trying to run flutter as root.
We strongly recommend running the flutter tool without superuser privileges.
解决方案
使 - Arch Linux⧮
$ sudo usermod -a -G flutterusers <your-user>
$ # alternatively:
$ #sudo gpasswd -a <your-user> flutterusers
- - 占领
$ flutter doctor
Building flutter tool...
æŧ
和£e££:Å¥郎(¥¥¥¥ò(EU)
étounte §ã€ââ⧠â€â¾ -实取Å¥ââ‧
$ sudo chown -R <your-user>: /opt/flutter