Genymobile / Genymobile/scrcpy
import opencv module wrong
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 150k
- Forks
- 13.8k
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 2
Description
When I open "scrcpy 1.20" and import module "opencv android 4.5.1" follow the official instrument using android studio, build debug apk, then run on my phone . It goes Wrong.
The phone log (using "adb shell logcat |grep "opencv"):
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/local/tmp/scrcpy-server"],nativeLibraryDirectories=[/system/lib64, /system/lib64]]] couldn't find "libopencv_java4.so"
But, When I integration OpenCV into other Android Studio application (eg: "Hello World") project using the same say. It can run successfully.
Why ? I searched net a lot time, but nothing can fix。Does it relate to app_process?? Or project dir ???
Can you try to tell me ? Thank you very much!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the scrcpy 1.20 debug APK build with OpenCV 4.5.1 in Android Studio and inspect the reported adb logcat error for libopencv_java4.so. Compare this with the successful Hello World integration, then determine and document or fix why the library is unavailable in scrcpy's runtime.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, opencv
- Domain
- computer-vision, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100