-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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
Target of URI doesn't exist #49702
Comments
Hi @keinou To better address the issue, would be helpful |
Hi @VladyslavBondarenko If I have the file open, it doesn't happen: In Android Studio he doesn't even recognize it with the file open. |
Hi @keinou Best case scenario it's just a problem with your Android Studio installation; If it doesn't solve it being potentially a problem with Android Studio's plugin itself Closing, as this isn't an issue with Flutter itself, |
I am facing the same issue. My flutter version details are: Flutter (Channel master, v1.15.4-pre.66, on Mac OS X 10.15.3 19D76, locale en-GB) On each project I have certain files flash up red on VS code, stating target of uri doesnt exist. I have the option of importing the correct URI, but with each click it still adds the old, red underlined, uri. The weird thing is, the project will still compile and run despite these errors, and the files in question work on the app. |
I attempted many of the fixes other users suggested such as clearing cache, running flutter pub get, restarting Xcode etc. I believe the issue is if the .dart file is inside a folder which contains spaces in its title. For example: No other files will be able to import test_file.dart, despite it suggesting the the pathway. It simply states "Target of URI doesn't exist" |
IDEA report this message: Target of URI doesn't exist: 'package:todo_app/UI/intro_page.dart'.
|
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v' please. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to Reproduce
Actual results: Target of URI doesn't exist:
The text was updated successfully, but these errors were encountered: