Package import - Target of URI does not exists

PeterP picture PeterP · Jun 23, 2015 · Viewed 16.2k times · Source

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!

Answer

Danvari picture Danvari · Mar 2, 2018

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.