-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
javacv not working on nativescript #584
Comments
@matart15 |
@Pip3r4o yes i created aar library and called its class from {N}.
It worked. Camera displayed. Then it fails to load aar dependency with above error. I googled few hours and found out that aar dependency must be imported together like this library seem to using something like this. But can't understand why mine does not work. picture here is |
Ok I made it work by manually copying |
@matart15 glad to learn you got it working! |
interestingly copying |
@matart15 yes, it's the standard android structure, we ourselves pack the |
Please, provide the details below:
Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?
yes
Tell us about the problem
Nativescript android javacv not working
Please provide the following version numbers that your issue occurs with:
Did the error happen while the app was being constructed? (buildtime error)
No
Did the error happen while the app was executing? (runtime error)
Yes
Please tell us how to recreate the issue in as much detail as possible.
I successfully called simple android Activity with button from Nativescript. I exported aar and imported it as plugin.
Then i tried to call custom camera Activity from Nativescript.
this activity https://github.com/CrazyOrr/FFmpegRecorder
Activity opens with black camera and then gives me this error
It works without problem from android studio. But not working with
tns run android
camera, external storage permissions are given and on for application
I did the trick from bytedeco/javacv#133 : moved *.so files to "app/src/main/jniLibs/armeabi-v7a" and "app/src/main/jniLibs/armeabi" folders and it seems not working
The text was updated successfully, but these errors were encountered: