-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] Support 16KB Page Size #294
Comments
@mhdjazmati I can't reproduce it with Android API level 34, are you using Android 35?
Since v1.3.0, the setup commands have been deprecated, because the Also, it would be helpful if you can attach the compiled Related: |
![]() this is the size of it for it and i attached it as zip |
also my emulator api is 35 |
Very likely, there are many similiar issues about 16KB page size: |
I have reproduced the bug using API 35 with 16KB page size, will look into and try to fix it. For now, please use emulators without |
fix [Android] Support 16KB Page Size #294
Describe the bug
final img = await cv.imreadAsync(imagePath, flags: cv.IMREAD_GRAYSCALE);
when it goes here it will crash with exception:
Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libdartcv.so': dlopen failed: empty/missing DT_HASH/DT_GNU_HASH in "/data/app/~~6THc7nmbhNWQ1qGf0VwAkQ==/com.example.opencv_oc-Rn_I_jOHmr7ZXoEHurFG1Q==/base.apk!/lib/arm64-v8a/libdartcv.so" (new hash type from the future?)
keep in mind this is my arm64-v8a folder:
libavcodec.so
libavformat.so
libswresample.so
libavfilter.so
libavutil.so
libswscale.so
also when i try to run the command:
dart run opencv_dart:setup android -a arm64-v8a -f
i got error : Could not find
bin/setup.dart
in packageopencv_dart
.keep in mind on MacOS platform it is working
To Reproduce
Steps to reproduce the behavior:
just make new project add lib to pubspec, run with the example code.
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: