# Release Mode Missing Class Exception

**URL:** <https://devforum.zoom.us/t/release-mode-missing-class-exception/127028>\
**Category:** Meeting SDK\
**Tags:** sdk\
**Created:** [February 16, 2025, 12:41pm UTC](https://devforum.zoom.us/t/release-mode-missing-class-exception/127028 "2025-02-16T12:41:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ronit1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ronit1/32/49083_2.png) [@Ronit1](https://devforum.zoom.us/u/Ronit1)\
**Post date:** [February 16, 2025, 12:41pm UTC](https://devforum.zoom.us/t/release-mode-missing-class-exception/127028/1 "2025-02-16T12:41:21Z")

</div>

This is the error I get when I run my app on release mode, however it works perfectly on debug mode I have tried everything including proguard-rules.pro. But nothing seems to work.

Just for context, the previous developer has left and I have replaced him in this project could it be something related to a signature/ UID/ API-key?

Exception java.lang.ExceptionInInitializerError:  
at us.zoom.internal.impl.e.a (ZoomSDKImpl.java:64)  
at us.zoom.sdk.ZoomSDK.initialize (ZoomSDK.java:1)  
at com.example.lms.MainActivity.configureFlutterEngine$lambda$0 (MainActivity.kt:60)  
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage (MethodChannel.java:258)  
at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler (DartMessenger.java:295)  
at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0 (DartMessenger.java:322)  
at android.os.Handler.handleCallback (Handler.java:942)  
at android.os.Handler.dispatchMessage (Handler.java:99)  
at android.os.Looper.loopOnce (Looper.java:211)  
at android.os.Looper.loop (Looper.java:300)  
at android.app.ActivityThread.main (ActivityThread.java:8410)  
at java.lang.reflect.Method.invoke  
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:559)  
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:954)  
Caused by java.lang.ClassNotFoundException:  
at java.lang.Runtime.nativeLoad  
at java.lang.Runtime.loadLibrary0 (Runtime.java:1079)  
at java.lang.Runtime.loadLibrary0 (Runtime.java:1003)  
at java.lang.System.loadLibrary (System.java:1765)  
at com.zipow.cmmlib.AppContext. (AppContext.java:5)

---

<div class="post-metadata">

**Author:** ![tihimsm](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tihimsm/32/63057_2.png) [@tihimsm](https://devforum.zoom.us/u/tihimsm)\
**Post date:** [February 19, 2025, 1:54pm UTC](https://devforum.zoom.us/t/release-mode-missing-class-exception/127028/2 "2025-02-19T13:54:34Z")

</div>

I have a same issue on Release build.

---

<div class="post-metadata">

**Author:** ![Ronit1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ronit1/32/49083_2.png) [@Ronit1](https://devforum.zoom.us/u/Ronit1)\
**Post date:** [February 20, 2025, 6:12am UTC](https://devforum.zoom.us/t/release-mode-missing-class-exception/127028/3 "2025-02-20T06:12:16Z")

</div>

Hi, I resolved the issue with proguad-rules.pro only. I used these lines in the file. Makes sure the contents of the file match this exactly.

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

```

---

<div class="post-metadata">

**Author:** ![tihimsm](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tihimsm/32/63057_2.png) [@tihimsm](https://devforum.zoom.us/u/tihimsm)\
**Post date:** [February 21, 2025, 7:31am UTC](https://devforum.zoom.us/t/release-mode-missing-class-exception/127028/4 "2025-02-21T07:31:36Z")

</div>

@Ronit1  
Thanks for the info!

Unfortunately, adding those lines to `proguard-rules.pro` didn’t fix the issue in my case.

However, by following `missing_rules.txt`, I was able to build the release version by adding the following rules:

```auto
-dontwarn us.zoom.libtools.helper.ImageCache$Key
-dontwarn us.zoom.libtools.helper.ImageCache
-dontwarn us.zoom.libtools.services.ExceptionDump
-dontwarn us.zoom.libtools.services.ZmContextServices
-dontwarn us.zoom.libtools.utils.ZmAccessibilityUtils
-dontwarn us.zoom.libtools.utils.ZmFileIOUtils
-dontwarn us.zoom.libtools.utils.ZmFileUtils

```

That said, I’m not sure if these files should really be ignored, so I’d like to get an answer from the developers.
