-
Notifications
You must be signed in to change notification settings - Fork 88
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
crash on android 4.2.2 (API 17) #5
Comments
Do you have the NDK installed? |
If library is already compiled then no need to USE NDK. I am getting same error even in your sample. please help us to resolve the problem |
You have to compile the .so file again if you move or rename the java class in which native method is declared you need to change the corresponding native method name in c file. In our case we have video.c file in jni folder. We need to update the method name according to the package name of java class which will be using this method and also adding "Java_" as prefix to method name. Hope this Help. Thanks. |
Thanks for your comments @deep7964. @trantung998, please give it a try.. 😁 |
thank you @deep7964 , it works and i have another problem "Green bar in compressed videos" |
I am still getting same crash on 4.2.2 |
Have you tried the @deep7964 solution? |
I tried to compile but getting error of some imports, include file. |
I also have this problem:
Im using the latest ndk (10) to compile. Do you have any idea on how to solve this? @lalongooo |
@deep7964 @fabiocarballo I'll reopen this issue and take a look later 😄 |
@trantung998 , use below width and height for " Green bar issuee....." . its works for me... |
how do you compile the .so file again @deep7964,when i compile it, i got 'opus.h' file not found error. |
i have an error when run on android 4.2.2, this is log:
i think it needs load the native lib for convertVideoFrame fuction
The text was updated successfully, but these errors were encountered: