Libannotate.so Error

@appgolive.test,

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.

@appgolive.test,

Can you share which build.gradle file you added the packageOptions pickfirst ?

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'
  }
}

Thanks @appgolive.test! Looking into this and will share updates as they become available.

2 Likes

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!

1 Like

@mieszko4 ,

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?

1 Like

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'
    }
1 Like

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

1 Like

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:

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.

4 Likes

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?

2 Likes

+1 on extending the deadline, as many can not update until this issue is fixed.

1 Like

@michael.zoom @elaine.ku @donte.zoom Any updates on this issue? Is it being worked on?

@nathan.krebs.deliver,

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:

  1. Any error messages or crash logs you may have with us.

  2. 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