-
Notifications
You must be signed in to change notification settings - Fork 315
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
Invalid argument (uri): URI scheme 'c' is not supported #7450
Comments
I have the same error. |
The issue is not Windows-specific, it happens on Mac/Linux as well:
|
I have also the same issue |
Dart analysis issueInvalid argument (uri): URI is not a valid file:// URI: "/Users/ying/work/frontend-expert-app/lib/main_common.dart" Version information
DetailsInvalid argument (uri): URI is not a valid file:// URI: "/Users/ying/work/frontend-expert-app/lib/main_common.dart"
Debug log
|
Same problem here |
same: LOG: |
…er outline subscription. This fixes flutter#7450 This starts work as well to resolve flutter#7449
…er outline subscription. Iguana 2023.2.x builds are removed starting with this change as the Dart plugin does not yet have the support, and as Jellyfish is the current stable AS version. This fixes flutter#7450 This starts work as well to resolve flutter#7449
Some follow up: #7466 |
Yes @alexander-doroshko is right. It took me 8 hours to solve this but managed to fix it eventually. I have a simple step by step guide on how to do it as well, mostly generated with ChatGPT 4o, but after countless hours of trying everything, it sure feels go to have it fixed.
Depending on the IDE version, it is one of these: Download the compatible version of the Dart plugin from the JetBrains plugin repository or another trusted source. The official plugin repository link is: Dart Plugin Repository
By following these steps, you should be able to downgrade the Dart plugin to a version that is compatible with your current build of Android Studio. If you encounter any issues during the process, feel free to ask for further assistance. One of the main issues for me, was the 'Flutter Outline' not working, and the cntrl + left click wasn't working either. I really hope this helps you as saves you all the time and emotions of not knowing how or what to do. |
This should be resolved with version 80 of the Flutter IJ plugin |
I'm getting the same error with flutter plugin version 80:
|
@philitell Try using the fix that worked for me. It is written above. |
@pglbiscuite you are my hero!!! I downgraded the dart-plugin to the compatible version for my Android Studio - and now it works. Also "show context actions" (alt+enter) are working again. |
@philitell & @pglbiscuite Thanks for the comments, re-opening to take a look. Any additional information would be helpful, which OS are you using, which version of Flutter SDK, etc. Switching back to an old version of the IJ plugins is a temporary solution. To record the DAS logs which also may be helpful here:
|
Version information
|
I believe this is an issue regarding the custom_lint package or the "analysis_options.yaml" file. Although I hadn't configured the custom_lint package. Anyhow this might solve the problem for some people |
My friend, I am really happy it worked for you, it took my at least 8 hours of constant struggle before I could make it work, so the fact that you did not have to go through all of that brings me Joy. Wish you nothing but the best! |
The issue originally filed as https://youtrack.jetbrains.com/issue/IDEA-353930 but it needs to be fixed in the Flutter plugin.
Logs show the problem:
The text was updated successfully, but these errors were encountered: