Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move File Exception #7742

Open
ChessMax opened this issue Oct 29, 2024 · 0 comments
Open

Move File Exception #7742

ChessMax opened this issue Oct 29, 2024 · 0 comments

Comments

@ChessMax
Copy link

Steps to Reproduce

Moving files to other directories (especially files that has generated parts - .g.dart`) often fails. It's either incorrect imports or "Move File Exception" with the message like:

Exception when attempting to compute the file changes for the move: path.g.dart does not belong to an anylysis root.

Version info

$ flutter doctor -v

[✓] Flutter (Channel stable, 3.24.0, on Microsoft Windows [Version 10.0.19045.5011], locale ru-RU)
• Flutter version 3.24.0 on channel stable at C:\SDKs\flutter_3.24.0
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 80c2e84975 (3 months ago), 2024-07-30 23:06:49 +0700
• Engine revision b8800d88be
• Dart version 3.5.0
• DevTools version 2.37.2

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at C:\Users\ChessMax\AppData\Local\Android\sdk
• Platform android-34, build-tools 33.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)
• All Android licenses accepted.

[✓] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[!] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.1)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.9.34616.47
• Windows 10 SDK version 10.0.18362.0
✗ Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop
development with C++" workload, and include these components:
MSVC v142 - VS 2019 C++ x64/x86 build tools
- If there are multiple build tool versions available, install the latest
C++ CMake tools for Windows
Windows 10 SDK

[✓] Android Studio (version 2022.1)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)

[✓] IntelliJ IDEA Community Edition (version 2024.1)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2024.1.2
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Ultimate Edition (version 2023.3)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2022.3.2
• Flutter plugin version 78.3.1
• Dart plugin version 233.14888

[✓] IntelliJ IDEA Ultimate Edition (version 2024.2)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2024.1
• Flutter plugin version 81.1.3
• Dart plugin version 242.21829.3

[✓] VS Code (version 1.89.0)
• VS Code at C:\Users\ChessMax\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.88.0

[✓] Connected device (4 available)
• sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 13 (API 33) (emulator)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.5011]
• Chrome (web) • chrome • web-javascript • Google Chrome 130.0.6723.70
• Edge (web) • edge • web-javascript • Microsoft Edge 130.0.2849.56

[✓] Network resources
• All expected network resources are available.

! Doctor found issues in 1 category.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant