-
Notifications
You must be signed in to change notification settings - Fork 320
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! |
Downgrading is not a solution anymore because it makes my debugger not breaking as breakpoints. The device break (I can see it in the console in chrome) but Android Studio does nothing. [✓] Flutter (Channel stable, 3.22.2, on Ubuntu 22.04.4 LTS 6.5.0-41-generic, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.89.1)
[✓] Connected device (2 available)
[✓] Network resources |
Try Uninstalling both Flutter and Dart plugin and reinstall latest version
then try reindexing project.
*Karmokar Surjit*
*Junior Software Developer*
*F10S Mobile Apps Team*
…On Tue, 9 Jul, 2024 at 8:37 PM, Ortes ***@***.***> wrote:
Downgrading is not a solution anymore because it makes my debugger not
breaking as breakpoints. The device break (I can see it in the console in
chrome) but Android Studio does nothing.
Please fix this, this makes the ide unusable :/
—
Reply to this email directly, view it on GitHub
<#7450 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BDUP55Y3BKX6YACTTEDMDE3ZLPYQZAVCNFSM6AAAAABIFSWZXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJXHEYDKMBVGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Yes i can confirm that - debugger is not working when downgrading the package. |
It is too complex to explain why the solution I will describe works. Just do the following:
I think the bug is in the Dart plugin. For now, we need this workaround. |
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: