# Android Zoom SDK 5.7.1 crash

**URL:** <https://devforum.zoom.us/t/android-zoom-sdk-5-7-1-crash/55965>\
**Category:** Android\
**Created:** [August 17, 2021, 9:08pm UTC](https://devforum.zoom.us/t/android-zoom-sdk-5-7-1-crash/55965 "2021-08-17T21:08:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![clouddx](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/clouddx/32/49036_2.png) [@clouddx](https://devforum.zoom.us/u/clouddx)\
**Post date:** [August 17, 2021, 9:08pm UTC](https://devforum.zoom.us/t/android-zoom-sdk-5-7-1-crash/55965/1 "2021-08-17T21:08:40Z")

</div>

Update to Zoom SDK 5.7.1 from 4.6.x, it has conflict on libc++\_shared.so file with other library, so I copy the libc++\_shared.so file and put it in project lib folder as well as adding `pickFirst 'lib/**/libc++_shared.so'` to make sure the right library is picked.

It works well in Debug build, but it isn’t when doing release build. The reason is that I use

```auto
            minifyEnabled true
            shrinkResources true

```

If I set it both false, then working fine.

Which seems to load the so file from NDK instead of project, and causing crash:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/e/5e60582c87ab35827b23fc3fe3566dc646cf9dfb.jpeg)

**Which Android Meeting SDK version?**  
5.7.1

ndkVersion ‘21.3.6528147’

---

<div class="post-metadata">

**Author:** ![clouddx](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/clouddx/32/49036_2.png) [@clouddx](https://devforum.zoom.us/u/clouddx)\
**Post date:** [August 18, 2021, 3:58pm UTC](https://devforum.zoom.us/t/android-zoom-sdk-5-7-1-crash/55965/2 "2021-08-18T15:58:33Z")

</div>

Even I remove `lib/**/libc++_shared.so` from that library as well as `pickFirst` and recompile doesn’t help, crash still happens, the only thing make it different between works and crash is minifyEnabled and shrinkResources set to false or true.  
Please help !!!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [August 18, 2021, 7:25pm UTC](https://devforum.zoom.us/t/android-zoom-sdk-5-7-1-crash/55965/3 "2021-08-18T19:25:08Z")

</div>

Hi @clouddx, thanks for using our SDK.

Since this crash is only happening with your release APK, this is likely an issue with ProGuard. You will need to add the following rules to your ProGuard config:

```auto
-keep class us.zoom.**{*;}
-keep class com.zipow.**{*;}
-keep class us.zipow.**{*;}
-keep class org.webrtc.**{*;}
-keep class us.google.protobuf.**{*;}
-keep class com.google.crypto.tink.**{*;}
-keep class androidx.security.crypto.**{*;}

```

Thanks!

---

<div class="post-metadata">

**Author:** ![clouddx](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/clouddx/32/49036_2.png) [@clouddx](https://devforum.zoom.us/u/clouddx)\
**Post date:** [August 18, 2021, 7:56pm UTC](https://devforum.zoom.us/t/android-zoom-sdk-5-7-1-crash/55965/4 "2021-08-18T19:56:45Z")

</div>

Thank you so much! It works!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [August 19, 2021, 7:26pm UTC](https://devforum.zoom.us/t/android-zoom-sdk-5-7-1-crash/55965/5 "2021-08-19T19:26:28Z")

</div>

You are very welcome, glad we were able to get that resolved!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [September 19, 2021, 5:26am UTC](https://devforum.zoom.us/t/android-zoom-sdk-5-7-1-crash/55965/6 "2021-09-19T05:26:54Z")

</div>

Closed on September 19, 2021, 5:26am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
