Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to solve 'could not find package integration_test in the Flutter SDK' error

I have an app, it is very simple and I keep getting this error:

pub get failed (server unavailable) -- attempting retry 1 in 1 second... Because bascis depends on integration_test any from sdk which doesn't exist (could not find package integration_test in the Flutter SDK), version solving failed.

I have tried

Pup upgrade, Pub get.

How can I get rid of this error?

like image 733
Mohamed AbdelraZek Avatar asked Dec 31 '20 07:12

Mohamed AbdelraZek


1 Answers

I had the same error after changing my channel from master to stable. I was able to fix it by removing (or commenting out) the following library from pubspec.yaml

dev_dependencies:
#  integration_test:
#    sdk: flutter
like image 175
Texv Avatar answered Sep 22 '22 11:09

Texv