Giter Club home page Giter Club logo

Comments (12)

ronelgazar avatar ronelgazar commented on May 22, 2024

by the way great documentation

from flutter_hand_tracking_plugin.

zhouzaihang avatar zhouzaihang commented on May 22, 2024

I suggest you use a real device for debugging. The simulator will always have some problems, even if no errors are reported

from flutter_hand_tracking_plugin.

ronelgazar avatar ronelgazar commented on May 22, 2024

I just tried it on my real device it's the same result the app crashes.

from flutter_hand_tracking_plugin.

zhouzaihang avatar zhouzaihang commented on May 22, 2024

Please confirm whether the size of the .aar file(flutter_hand_tracking_plugin/android/libs/hand_tracking_aar.aar) in your project exceeds 100MB, if only a few kb indicates that the .aar file you downloaded is incomplete

from flutter_hand_tracking_plugin.

ronelgazar avatar ronelgazar commented on May 22, 2024

The size of the hand_tracking_aar.aar file is 103.21600 MB

from flutter_hand_tracking_plugin.

zhouzaihang avatar zhouzaihang commented on May 22, 2024

Please provide the log of the program running.

from flutter_hand_tracking_plugin.

ronelgazar avatar ronelgazar commented on May 22, 2024

image

from flutter_hand_tracking_plugin.

zhouzaihang avatar zhouzaihang commented on May 22, 2024

I think the problem may be in flutter sdk:

flutter/flutter#35989

from flutter_hand_tracking_plugin.

ronelgazar avatar ronelgazar commented on May 22, 2024

thank you i will check, for now i will leave the issue open

from flutter_hand_tracking_plugin.

ronelgazar avatar ronelgazar commented on May 22, 2024

[ ] E/AndroidRuntime(29352): java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/xyz.zhzh.flutter_hand_tracking_plugin_example-85Gsr80AchvFZfd26RsVNg==/base.apk"],nativeLibraryDirectories=[/data/app/xyz.zhzh.flutter_hand_tracking_plugin_example-85Gsr80AchvFZfd26RsVNg==/lib/x86_64, /data/app/xyz.zhzh.flutter_hand_tracking_plugin_example-85Gsr80AchvFZfd26RsVNg==/base.apk!/lib/x86_64, /system/lib64, /vendor/lib64]]] couldn't find "libmediapipe_jni.so"

i found the issue. where is the file libmediapipe_jni.so located ?

from flutter_hand_tracking_plugin.

sonsosad avatar sonsosad commented on May 22, 2024

@ronelgazar How did you fix this problem?

from flutter_hand_tracking_plugin.

ronelgazar avatar ronelgazar commented on May 22, 2024

@sonsosad
A bit late 😅, I don't remember how I did it but it something along these lines

  1. reinstalled the hand_tracking.aar file properly using android studio
  2. Installed mediapipe on my pc in order find the libmediapipe_jeni.so and replaced the original one
  3. updated my flutter sdk (It was before null safety was introduced so I am not sure if it is relevant anymore)
  4. built a debug apk
  5. installed it on a physical device
  6. Done

Have a nice day and
I hope it is still relevant.

ronelgazar

from flutter_hand_tracking_plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.