Initialize alway return nullpointer in release

Description
Everything work well in debug. This errror only in release when shrinkResources true and minifyEnabled true in build.gradle with tools:shrinkMode=“strict” in res/raw/keep.xml .
Remove tools:shrinkMode=“strict” will fix this. But i found that, in res/raw/ in apk file (or aab file) , file ios_emoji.conf has size = 0 byte. Add “strict” , it will have ~53KB .

Which Android Client SDK version?
v5.5.1.1319

Hi @shpy2001, thanks for the post.

Please try adding the following to your proguard config file:

-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!

1 Like

Hi @jon.zoom , i already add those rule to proguard. The problem is at tools:shrinkMode=“strict” in res/raw/keep.xml.

Hi @shpy2001,

Thanks for giving that a try. We will need to investigate this and get back to you once we have any updates.

Thanks!

1 Like

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