MediaPipe multi-hand tracking gpu demo with MediaPipe's Android archive library
114
stars
47
forks
source link
JNI DETECTED ERROR IN APPLICATION: JNI CallVoidMethodV called with pending exception java.lang.NoSuchMethodError: No static method registerDefaultInstance( #2
When I run my Android code it is wrong,the error is
JNI DETECTED ERROR IN APPLICATION: JNI CallVoidMethodV called with pending exception java.lang.NoSuchMethodError: No static method registerDefaultInstance(Ljava/lang/Class;Lcom/google/protobuf/GeneratedMessageLite;)V in class Lcom/google/protobuf/GeneratedMessageLite; or its super classes (declaration of 'com.google.protobuf.GeneratedMessageLite' appears in /data/app/com.example.mediapipehandtracking-1/base.apk) art/runtime/java_vm_ext.cc:410] at void com.google.mediapipe.formats.proto.LandmarkProto$NormalizedLandmarkList.<clinit>() (LandmarkProto.java:1684) art/runtime/java_vm_ext.cc:410] at void com.example.mediapipehandtracking.MainActivity.lambda$onCreate$0$MainActivity(com.google.mediapipe.framework.Packet) (MainActivity.java:108) art/runtime/java_vm_ext.cc:410] at void com.example.mediapipehandtracking.-$$Lambda$MainActivity$Ebp1jy5s4WkhQ-ZwIjp9HiYcpYI.process(com.google.mediapipe.framework.Packet) (lambda:-1)
hoping for your answer,thinks
When I run my Android code it is wrong,the error is
JNI DETECTED ERROR IN APPLICATION: JNI CallVoidMethodV called with pending exception java.lang.NoSuchMethodError: No static method registerDefaultInstance(Ljava/lang/Class;Lcom/google/protobuf/GeneratedMessageLite;)V in class Lcom/google/protobuf/GeneratedMessageLite; or its super classes (declaration of 'com.google.protobuf.GeneratedMessageLite' appears in /data/app/com.example.mediapipehandtracking-1/base.apk) art/runtime/java_vm_ext.cc:410] at void com.google.mediapipe.formats.proto.LandmarkProto$NormalizedLandmarkList.<clinit>() (LandmarkProto.java:1684) art/runtime/java_vm_ext.cc:410] at void com.example.mediapipehandtracking.MainActivity.lambda$onCreate$0$MainActivity(com.google.mediapipe.framework.Packet) (MainActivity.java:108) art/runtime/java_vm_ext.cc:410] at void com.example.mediapipehandtracking.-$$Lambda$MainActivity$Ebp1jy5s4WkhQ-ZwIjp9HiYcpYI.process(com.google.mediapipe.framework.Packet) (lambda:-1)
hoping for your answer,thinks