tflite_flutter_helper icon indicating copy to clipboard operation
tflite_flutter_helper copied to clipboard

not compatible with ffi 2.0.1.

Open yyccR opened this issue 2 years ago • 3 comments

Hope to be compatible with the ffi 2.x version

yyccR avatar Oct 24 '22 09:10 yyccR

+1

ChangJoo-Park avatar Nov 08 '22 04:11 ChangJoo-Park

edit pubspec.yaml in flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/tflite_flutter_helper-0.3.1 to: ffi: ^2.0.1

but I also used this solution to make the plugin work with flutter 3

    @sircambridge you can try

  url: https://github.com/elephantum/tflite_flutter_helper.git
  ref: a7d7a59a33f7cffa0a2a12ab05625807622cc97a

Originally posted by @elephantum in https://github.com/am15h/tflite_flutter_helper/issues/57#issuecomment-1133103451

so I first copied the corrected repository to the plugin folder

Then you can try the flutter clean followed by the flutter pub get.

Guynullin avatar Nov 12 '22 17:11 Guynullin