Thank you for following up on this. I’ve been tied up with Zoomtopia, but I am looking into this and will get back to you with what I learn.
Here is the pickfirst added in build.gradle.
android{
packagingOptions {
pickFirst 'lib/x86/libc++_shared.so'
pickFirst 'lib/x86_64/libc++_shared.so'
pickFirst 'lib/armeabi-v7a/libc++_shared.so'
pickFirst 'lib/arm64-v8a/libc++_shared.so'
}
}
I have the same problem. The last ZoomSDK that worked for me was 5.10.3.5614
, however, 5.11.0.6883
does not.
@donte.zoom Thnx for looking into this! Looking forward!
Thank you for posting in the Zoom Developer Forum and sorry for the missed response. Are you still seeing the same behavior? If so, can share a screenshot of any errors message you are seeing?
Hey there! We can confirm that the same issue happens for us using version 5.13.10. Are there any known workarounds for this?
Thnx @donte.zoom
It stopped happening to me on 5.13.1.11014
but perhaps it is related to Android version because I see it still happens to @zoom52
I am using Android 12.
In order for my app to build I have to include:
packagingOptions {
pickFirst 'lib/arm64-v8a/libc++_shared.so'
pickFirst 'lib/x86/libc++_shared.so'
pickFirst 'lib/x86_64/libc++_shared.so'
pickFirst 'lib/armeabi-v7a/libc++_shared.so'
}
Hi @zoom52 ,
I would like to know which ndk version you’re using. If you’re using M-SDK 5.13.10 then the ndk version needs to be at least r23. The pickFirst solution would only work if there are libc++_shared.so from both mobilertc.arr and ndk 23. If there are other .so files in lib/ or the lib/ is empty, the pickFirst solution would not work.
Thank you
Elaine
I am seeing this as well with 5.14.2.13167. I have tried using NDK versions 23.1.7779620 and 25.2.9519653. I have tried with and without with “pickFirst” packaging options.
I have seen this posted a few other places by others having the same issue all without any working update:
- My app is crash on android 12 and above - #11 by christopher.dwyer
- Libannotate.so JNI Crash
- StackOverflow question 73460063 (Can only post 2 links so I cannot link this)
EDIT: My issue was that another dependency my project had was also pulling in native files that I was unaware of and so I’m working through that now.
I’m seeing the same issue, and it is a blocker, since we are currently using version 5.10.3.5614, and are trying to update to 5.11.3 (the minimum supported verion for the upcoming May 6 deadline).
We cannot update until this issue is fixed, could the team prioritize a fix for this, or extend the deadline, since we cannot update otherwise?
+1 on extending the deadline, as many can not update until this issue is fixed.
Thanks for the update and glad to hear you working through the dependency issue in your project.
@sam3 and @christopher.dwyer,
Can you share more details on what you are seeing? Please kindly share:
-
Any error messages or crash logs you may have with us.
-
What NDK version are you using (please share a screenshot)?
Hi Donte,
This is the crash log I’m getting:
(same as the initial message in this thread)
We’re not using the NDK in our project.
After doing some more digging, I found the following:
I have this line in build.gradle.kts:
jniLibs.pickFirsts.add("lib/**/libc++_shared.so")
(since we have multiple libraries that have native code)
After removing it, the following error occurs:
We use three different libraries that use libc++_shared.so
, which seems to be the root of the problem.
Did anything change in the packaging of the native libraries in the newer versions of the Zoom library?
Hello @sam3,
Would you please clean all the cache and define ndkVersion = “23.2.8568331” in your build.gradle to see whether it works? Also, please remain the pickFirsts in your build.gradle.
To run our meeting SDK we’ll need ndk version >= r23b.
Thank you
Elaine
I tried to upgrade NDK version to 23.2.8568331, but still getting the same issue
Hello @ttran1,
Is there any other libc++_shared.so which is not from ndk or our meeting sdk package in your project?
Thank you
Elaine