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

v0.4.4/java.lang.UnsatisfiedLinkError while init of ObjectDetector #987

Open
zekiamani opened this issue Sep 13, 2024 · 0 comments
Open

Comments

@zekiamani
Copy link

v0.0.4 Object detector throws java.lang.UnsatisfiedLinkError in Android native init phase. While it works fine with v0.4.3 and below versions, it was detected in v0.0.4 version.

  • Problematic phone: Samsung SM-J250F
  • Problematic library version: v0.0.4
  • Reproduce phase: Object detector init phase only on Samsung SM-J250F device
No implementation found for void org.tensorflow.lite.task.vision.detector.ObjectDetector.deinitJni(long) (tried Java_org_tensorflow_lite_task_vision_detector_ObjectDetector_deinitJni and Java_org_tensorflow_lite_task_vision_detector_ObjectDetector_deinitJni__J)                               
Uncaught exception thrown by finalizer                                                                                                                                                                                                                                                              
java.lang.UnsatisfiedLinkError: No implementation found for void org.tensorflow.lite.task.vision.detector.ObjectDetector.deinitJni(long) (tried Java_org_tensorflow_lite_task_vision_detector_ObjectDetector_deinitJni and Java_org_tensorflow_lite_task_vision_detector_ObjectDetector_deinitJni__J
	at org.tensorflow.lite.task.vision.detector.ObjectDetector.deinitJni(Native Method)                                                                                                                                                                                                             
	at org.tensorflow.lite.task.vision.detector.ObjectDetector.deinit(ObjectDetector.java:545)                                                                                                                                                                                                      
	at org.tensorflow.lite.task.core.BaseTaskApi.close(BaseTaskApi.java:59)                                                                                                                                                                                                                         
	at org.tensorflow.lite.task.core.BaseTaskApi.finalize(BaseTaskApi.java:78)                                                                                                                                                                                                                      
	at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:222)                                                                                                                                                                                                                               
	at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:209)                                                                                                                                                                                                                                      
	at java.lang.Thread.run(Thread.java:762)                                                                                                                                                                                                                                                        
After code cache collection, code=61KB, data=61KB                                                                                                                                                                                                                                                   ```
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