Package import. The URI target does not exist.

Please check my project:

https://github.com/MaximGo/WebTech_Projekt.git

In the "tetrisclient.dart" file, I want to import the generated package from the lib folder.

import 'package:tetris/tetris.dart';

      

But I am getting Erro 'Target URI does not exist'

Thank you for your help!

+3


source to share


2 answers


I know this is an old question, but I stumbled upon it and solved it. But everyone who comes across this will just close your project and reopen it. This solved it for me. I am using Android Studio.



+6


source


Run pub get . If you are using WebStorm, you can do this using the appropriate action from the context menu of the pubspec.yaml file.



+2


source







All Articles