79625109

Date: 2025-05-16 11:59:30
Score: 2.5
Natty:
Report link

sadly the install.bat workaround for this problem did not work for me.

however, i went to the Assets folder of the tflite_flutter_plugin repo (though deprecated now, the asset files are still working), downloaded the required files from the list of available ones (i only needed 4):
enter image description here

then i created the jniLibs folder in the project folder and further created subfolder in the following structure, dragged the respective .so files into the subfolders according to the subfolder names, and finally renamed all 4 .so files to 'libtensorflowlite_c.so' once they are moved:

your_flutter_project/
└── android/
    └── app/
        └── src/
            └── main/
                └── jniLibs/
                    ├── armeabi-v7a/
                    │   └── libtensorflowlite_c.so
                    ├── arm64-v8a/
                    │   └── libtensorflowlite_c.so
                    ├── x86/
                    │   └── libtensorflowlite_c.so
                    └── x86_64/
                        └── libtensorflowlite_c.so

and voila! it finally worked for me! very grateful for Rahul's approach still, it saved my day! :DD

Reasons:
  • Blacklisted phrase (2): saved my day
  • Blacklisted phrase (1): did not work
  • Blacklisted phrase (1): enter image description here
  • Whitelisted phrase (-1): worked for me
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user30556003