Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Package import - Target of URI does not exists

Tags:

Please check my project:

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

In the file 'tetrisclient.dart' I want to import the generated package from the lib-folder.

import 'package:tetris/tetris.dart';

But I get the Erro 'Target of URI does not exists'

Thanks for your help!

like image 882
PeterP Avatar asked Jun 23 '15 13:06

PeterP


People also ask

Where is Pubspec yaml?

yaml file, often referred to as the pubspec. A basic pubspec is generated when you create a new Flutter project. It's located at the top of the project tree and contains metadata about the project that the Dart and Flutter tooling needs to know.


1 Answers

I know this is an old question, but I came across it and resolved it. But anyone that runs into this, simply close your project and reopen it. That solved it for me. I'm using Android Studio.

like image 180
Danvari Avatar answered Oct 04 '22 15:10

Danvari