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

Failed to load native TensorFlow Lite methods. Check that the correct native libraries are present, and, if using a custom native library, have been properly loaded via System.loadLibrary(): #103

Open
prakashssp077 opened this issue Apr 4, 2021 · 0 comments

Comments

@prakashssp077
Copy link

No implementation found for java.lang.String org.tensorflow.lite.TensorFlowLite.nativeRuntimeVersion() (tried Java_org_tensorflow_lite_TensorFlowLite_nativeRuntimeVersion and Java_org_tensorflow_lite_TensorFlowLite_nativeRuntimeVersion__)
E/AndroidRuntime(11990): FATAL EXCEPTION: main
E/AndroidRuntime(11990): Process: com.example.mumotionplayer, PID: 11990
E/AndroidRuntime(11990): java.lang.UnsatisfiedLinkError: Failed to load native TensorFlow Lite methods. Check that the correct native libraries are present, and, if using a custom native library, have been properly loaded via System.loadLibrary():
E/AndroidRuntime(11990): java.lang.UnsatisfiedLinkError: No implementation found for java.lang.String org.tensorflow.lite.TensorFlowLite.nativeRuntimeVersion() (tried Java_org_tensorflow_lite_TensorFlowLite_nativeRuntimeVersion and Java_org_tensorflow_lite_TensorFlowLite_nativeRuntimeVersion__)
E/AndroidRuntime(11990): at org.tensorflow.lite.TensorFlowLite.init(TensorFlowLite.java:80)
E/AndroidRuntime(11990): at org.tensorflow.lite.TensorFlowLite.schemaVersion(TensorFlowLite.java:58)
E/AndroidRuntime(11990): at org.tensorflow.lite.TensorFlowLite.version(TensorFlowLite.java:47)
E/AndroidRuntime(11990): at com.google.android.gms.internal.firebase_ml.zzpr.(Unknown Source:186)
E/AndroidRuntime(11990): at com.google.firebase.ml.custom.FirebaseModelInterpreter.(Unknown Source:25)
E/AndroidRuntime(11990): at com.google.firebase.ml.custom.FirebaseModelInterpreter.zza(Unknown Source:38)
E/AndroidRuntime(11990): at com.google.firebase.ml.custom.FirebaseModelInterpreter.getInstance(Unknown Source:31)
E/AndroidRuntime(11990): at com.azihsoyn.flutter.mlkit.MlkitPlugin.onMethodCall(MlkitPlugin.java:360)
E/AndroidRuntime(11990): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
E/AndroidRuntime(11990): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/AndroidRuntime(11990): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:818)
E/AndroidRuntime(11990): at android.os.MessageQueue.nativePollOnce(Native Method)
E/AndroidRuntime(11990): at android.os.MessageQueue.next(MessageQueue.java:336)
E/AndroidRuntime(11990): at android.os.Looper.loop(Looper.java:174)
E/AndroidRuntime(11990): at android.app.ActivityThread.main(ActivityThread.java:7356)
E/AndroidRuntime(11990): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(11990): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
E/AndroidRuntime(11990): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
I/Process (11990): Sending signal. PID: 11990 SIG: 9
Lost connection to device.

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

1 participant