I manually deleted a package in External libraries/dart packages. Now I tried to run packages get
again. The package(tesseract_ocr) did not appear in External libraries/dart packages.
I tried removing it in pubspec.yaml and re-adding it but did not appear again. I tried deleting .pub-cache and run packages get
again. I tried flutter clean
, flutter pub cache repair
, flutter pub cache add tessarect_ocr
and packages get
so many times but none of them made tessarect_ocr package reappear in External libraries/dart packages. Please Help. Thanks in advance!
Question posted in Android Studio
The official documentation can be found here.
The official documentation can be found here.
2
Answers
Try
or
facing the same issue I did the following things:
1.
which reinstalled all the packages
2. `
`
which update the dependencies and it works.