profile
viewpoint

Ask questionsat com.google.mediapipe.apps.objectdetectioncpu.MainActivity.<clinit>(MainActivity.java:50)

10-10 10:55:42.910 5618-5618/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.google.mediapipe.apps.objectdetectioncpu, PID: 5618 java.lang.UnsatisfiedLinkError: com.google.devtools.build.android.incrementaldeployment.IncrementalClassLoader$DelegateClassLoader[DexPathList[[dex file "/data/local/tmp/incrementaldeployment/com.google.mediapipe.apps.objectdetectioncpu/dex/incremental_classes1.dex"],nativeLibraryDirectories=[/data/user/0/com.google.mediapipe.apps.objectdetectioncpu/lib, /vendor/lib, /system/lib]]] couldn't find "libmediapipe_jni.so" at java.lang.Runtime.loadLibrary(Runtime.java:367) at java.lang.System.loadLibrary(System.java:1076) at com.google.mediapipe.apps.objectdetectioncpu.MainActivity.<clinit>(MainActivity.java:50) at java.lang.Class.newInstance(Native Method) at android.app.Instrumentation.newActivity(Instrumentation.java:1074) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2410) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2577) at android.app.ActivityThread.access$1000(ActivityThread.java:166) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1414) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5619) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:853) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:737)

google/mediapipe

Answer questions jiuqiant

I am not sure if our demo apps still work with Android 6, which was released in 2015. Have you tested the demo apps on some other devices? Moreover, we also provide some prebuilt arm64 apk, can you try the apk?

Another possibility is that your device has armeabi-v7a CPUs and android_arm64 setting is not working on your device.

useful!

Related questions

Get hand_tracking_cpu source code to extract detected hand metadata hot 2
SSL certification error while downloading dependency libraries via Bazel hot 1
Build of Hello World Failed on Darwin (MacOS) hot 1
Build of Hello World Failed on Darwin (MacOS) hot 1
Bazel build failed in Android Studio hot 1
Fail to pull in MediaPipe's external dependencies due to unstable internet connection hot 1
Hand Tracking Desktop GPU Build Error hot 1
ERROR: An error occurred during the fetch of repository 'bazel_skylib' hot 1
Bazel build failed to fetch Maven dependency hot 1
Running error hot 1
Hello World failed build on Raspberry Pi - mediapipe hot 1
Accessing landmarks, tracking multiple hands, and enabling depth on desktop hot 1
Unable to load the hand detection model hot 1
build aar failed hot 1
Error in building TensorFlow Object Detection Demo hot 1
Github User Rank List