Open erluxman opened 3 years ago
Having the same issue myself. I am only using android for development as of now. Any help would be appreciated.
As per the installation instruction, we need to locate this directory
~/.pub-cache/hosted/pub.dartlang.org/tflite_flutter-<plugin-version>/
but even after I do flutter pub get after adding the dependency to pubspec file, this directory is not generated.I tried doing
pod install pod install --repo-update flutter pub cache repair
I even tried to manually add
pod 'TensorFlowLiteC', '~> 2.2.0', in Podfile
But nothing seems to help.As no one seems to have reported this issue earlier, am I missing something silly in this installation?
Run --> flutter pub cache add tflite_flutter --version "0.9.0"
That also didn't work. The problem was that we were navigating to the folder from command line.
~/.pub-cache/hosted/pub.dartlang.org/tflite_flutter-<plugin-version>/
this command returns pub cache but not the one inside flutter. When I navigated to the directory path above from the flutter installation folder, tflite_flutter
was there.
dart pub cache add tflite_flutter --version "0.9.0"
That also didn't work. The problem was that we were navigating to the folder from command line.
~/.pub-cache/hosted/pub.dartlang.org/tflite_flutter-<plugin-version>/
this command returns pub cache but not the one inside flutter. When I navigated to the directory path above from the flutter installation folder,tflite_flutter
was there.
I also got stuck on this issue. I think it deserves an update on README.
any updates about this issue? i also cant find tflite_flutter folder in that path
i fixed it!!, so all you need is to re-instal the dart and flutter library from mac and then check again
~/.pub-cache/hosted/pub.dartlang.org/
the folder of tflite_flutter will be there as soon as you do flutter pub get on your flutter project
dart pub cache add tflite_flutter --version "0.9.0"
This worked for me! Thanks :D
As per the installation instruction, we need to locate this directory
~/.pub-cache/hosted/pub.dartlang.org/tflite_flutter-<plugin-version>/
but even after I do flutter pub get after adding the dependency to pubspec file, this directory is not generated.I tried doing
I even tried to manually add
pod 'TensorFlowLiteC', '~> 2.2.0', in Podfile
But nothing seems to help.As no one seems to have reported this issue earlier, am I missing something silly in this installation?