flutter doctor Found an existing Pub cache at /home/zjh/.pub-cache. It can be repaired by running `dart pub cache repair`. It can be reset by running `dart pub cache clean`. Found an existing Dart Analysis Server cache at /home/zjh/.dartServer. It can be reset by deleting /home/zjh/.dartServer. Flutter failed to write to a file at "/opt/flutter/packages/flutter_tools/.dart_tool/version". Please ensure that the SDK and/or project is installed in a location that has read/write permissions for the current user. Try running: sudochown -R $(whoami) /opt/flutter/packages/flutter_tools/.dart_tool/version
Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.13.0, on Arch Linux 6.4.10-arch1-1, locale zh_CN.UTF-8) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Chrome - develop for the web [✓] Linux toolchain - develop for Linux desktop [✓] Android Studio (version 2022.2) [✓] Connected device (2 available) [✓] Network resources