Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can i make this work on android 4.4.4 #102

Closed
lekthedeveloper opened this issue Jul 2, 2023 · 1 comment
Closed

how can i make this work on android 4.4.4 #102

lekthedeveloper opened this issue Jul 2, 2023 · 1 comment

Comments

@lekthedeveloper
Copy link

i am getting this error message below

Restarted application in 5,161ms.
D/Activity( 7207): #1 setTransGradationModeColor false
D/ViewRootImpl( 7207): ViewPostImeInputStage ACTION_DOWN
E/flutter ( 7207): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libtensorflowlite_jni.so': dlopen failed: cannot locate symbol "__register_atfork" referenced by "libtensorflowlite_jni.so"...
E/flutter ( 7207): #0 _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:11:43)
E/flutter ( 7207): #1 new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:22:12)
E/flutter ( 7207): #2 _dylib.
E/flutter ( 7207): #3 _dylib
E/flutter ( 7207): #4 _dylib (package:tflite_flutter/src/bindings/bindings.dart)
E/flutter ( 7207): #5 tfliteBinding
E/flutter ( 7207): #6 tfliteBinding (package:tflite_flutter/src/bindings/bindings.dart)
E/flutter ( 7207): #7 new Model.fromBuffer
E/flutter ( 7207): #8 new Interpreter.fromBuffer
E/flutter ( 7207): #9 Interpreter.fromAsset
E/flutter ( 7207):
E/flutter ( 7207): #10 _FaceComparisonPageState._loadModel
E/flutter ( 7207):
E/flutter ( 7207):

@lekthedeveloper lekthedeveloper changed the title how can i make this work on android 4.4.4 how can i make this work on android 4.4.4 Jul 2, 2023
@PaulTR
Copy link
Collaborator

PaulTR commented Jul 13, 2023

Oh boy, no I really doubt it :) Min SDK for Android that we support in samples is 21 (Lollipop), which was initially released in October of 2014 (coming up on 9 years ago :)). Anything before that (though even Lollipop at this point) is pure luck if it works. Sorry about that!

@PaulTR PaulTR closed this as completed Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants