edvardHua / PoseEstimationForMobile

:dancer: Real-time single person pose estimation for Android and iOS.
Apache License 2.0
1k stars 268 forks source link

runtime crash with linker error #138

Open liamwalsh opened 4 years ago

liamwalsh commented 4 years ago

Hello, recently I'm seeing a runtime crash with the following error

17:17:14.693 16426-16492/com.edvard.poseestimation E/AndroidRuntime: FATAL EXCEPTION: CameraBackground Process: com.edvard.poseestimation, PID: 16426 java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN6tflite3gpu2cl9Arguments11kArgsPrefixE" referenced by "/data/app/com.edvard.poseestimation-8v6Pa1ZogPwTRTCVXoZK9Q==/lib/arm/libtensorflowlite_gpu_jni.so"... at java.lang.Runtime.loadLibrary0(Runtime.java:1071) at java.lang.Runtime.loadLibrary0(Runtime.java:1007) at java.lang.System.loadLibrary(System.java:1667) at org.tensorflow.lite.gpu.GpuDelegate.(GpuDelegate.java:126) at com.edvard.poseestimation.ImageClassifier.initTflite(ImageClassifier.kt:63) at com.edvard.poseestimation.Camera2BasicFragment$onResume$1.run(Camera2BasicFragment.kt:311) at android.os.Handler.handleCallback(Handler.java:883) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loop(Looper.java:214) at android.os.HandlerThread.run(HandlerThread.java:67)