Meeting SDK version v5.17.10.20175
Description
When using the latest Android Gradle build tools minify with R8 fails with the below errors.
Error
Missing class com.android.billingclient.api.AcknowledgePurchaseParams$Builder (referenced from: void us.zoom.proguard.kv.a(com.android.billingclient.api.Purchase))
Missing class com.android.billingclient.api.AcknowledgePurchaseParams (referenced from: void us.zoom.proguard.kv.a(com.android.billingclient.api.Purchase) and 1 other context)
Missing class com.android.billingclient.api.AcknowledgePurchaseResponseListener (referenced from: void us.zoom.proguard.o6.a(com.android.billingclient.api.AcknowledgePurchaseParams, com.android.billingclient.api.AcknowledgePurchaseResponseListener) and 1 other context)
Missing class com.android.billingclient.api.BillingClient$Builder (referenced from: void us.zoom.proguard.o6.a(android.content.Context, com.android.billingclient.api.PurchasesUpdatedListener))
Missing class com.android.billingclient.api.BillingClient (referenced from: com.android.billingclient.api.BillingClient us.zoom.proguard.o6.a and 9 other contexts)
Missing class com.android.billingclient.api.BillingClientStateListener (referenced from: void us.zoom.proguard.o6.a(com.android.billingclient.api.BillingClientStateListener) and 1 other context)
Missing class com.android.billingclient.api.BillingFlowParams$Builder (referenced from: void us.zoom.proguard.kv$b.a(java.lang.String, java.lang.String, java.lang.String, com.android.billingclient.api.BillingResult, java.util.List) and 1 other context)
Missing class com.android.billingclient.api.BillingFlowParams$ProductDetailsParams$Builder (referenced from: void us.zoom.proguard.kv$b.a(java.lang.String, java.lang.String, java.lang.String, com.android.billingclient.api.BillingResult, java.util.List) and 1 other context)
Missing class com.android.billingclient.api.BillingFlowParams$ProductDetailsParams (referenced from: void us.zoom.proguard.kv$b.a(java.lang.String, java.lang.String, java.lang.String, com.android.billingclient.api.BillingResult, java.util.List) and 1 other context)
Missing class com.android.billingclient.api.BillingFlowParams$SubscriptionUpdateParams$Builder (referenced from: void us.zoom.proguard.kv$b.a(java.lang.String, java.lang.String, java.lang.String, com.android.billingclient.api.BillingResult, java.util.List))
Missing class com.android.billingclient.api.BillingFlowParams$SubscriptionUpdateParams (referenced from: void us.zoom.proguard.kv$b.a(java.lang.String, java.lang.String, java.lang.String, com.android.billingclient.api.BillingResult, java.util.List))
Missing class com.android.billingclient.api.BillingFlowParams (referenced from: void us.zoom.proguard.kv$b.a(java.lang.String, java.lang.String, java.lang.String, com.android.billingclient.api.BillingResult, java.util.List) and 2 other contexts)
Missing class com.android.billingclient.api.BillingResult (referenced from: void us.zoom.proguard.kv$a.a(java.lang.String, java.lang.String, com.android.billingclient.api.BillingResult, java.util.List) and 10 other contexts)
Missing class com.android.billingclient.api.InAppMessageParams$Builder (referenced from: void us.zoom.proguard.kv.c())
Missing class com.android.billingclient.api.InAppMessageParams (referenced from: void us.zoom.proguard.kv.c() and 1 other context)
Missing class com.android.billingclient.api.InAppMessageResponseListener (referenced from: void us.zoom.proguard.kv.c() and 1 other context)
Missing class com.android.billingclient.api.InAppMessageResult (referenced from: void us.zoom.proguard.kv.a(com.android.billingclient.api.InAppMessageResult))
Missing class com.android.billingclient.api.ProductDetails$PricingPhase (referenced from: java.lang.String us.zoom.proguard.kv.a(com.android.billingclient.api.ProductDetails) and 4 other contexts)
Missing class com.android.billingclient.api.ProductDetails$PricingPhases (referenced from: com.android.billingclient.api.ProductDetails$PricingPhase us.zoom.proguard.kv.d(com.android.billingclient.api.ProductDetails) and 1 other context)
Missing class com.android.billingclient.api.ProductDetails$SubscriptionOfferDetails (referenced from: void us.zoom.proguard.kv$b.a(java.lang.String, java.lang.String, java.lang.String, com.android.billingclient.api.BillingResult, java.util.List) and 3 other contexts)
Missing class com.android.billingclient.api.ProductDetails (referenced from: float us.zoom.proguard.ju1.e(java.util.List) and 10 other contexts)
Missing class com.android.billingclient.api.ProductDetailsResponseListener (referenced from: void us.zoom.proguard.kv$a.run() and 3 other contexts)
Missing class com.android.billingclient.api.Purchase (referenced from: void us.zoom.proguard.kv.a(com.android.billingclient.api.Purchase) and 2 other contexts)
Missing class com.android.billingclient.api.PurchasesResponseListener (referenced from: void us.zoom.proguard.o6.a(com.android.billingclient.api.PurchasesResponseListener))
Missing class com.android.billingclient.api.PurchasesUpdatedListener (referenced from: void us.zoom.proguard.o6.a(android.content.Context, com.android.billingclient.api.PurchasesUpdatedListener) and 1 other context)
Missing class com.android.billingclient.api.QueryProductDetailsParams$Builder (referenced from: void us.zoom.proguard.kv$a.run() and 2 other contexts)
Missing class com.android.billingclient.api.QueryProductDetailsParams$Product$Builder (referenced from: void us.zoom.proguard.kv$a.run() and 2 other contexts)
Missing class com.android.billingclient.api.QueryProductDetailsParams$Product (referenced from: void us.zoom.proguard.kv$a.run() and 2 other contexts)
Missing class com.android.billingclient.api.QueryProductDetailsParams (referenced from: void us.zoom.proguard.kv$a.run() and 3 other contexts)
Missing class com.android.billingclient.api.QueryPurchasesParams$Builder (referenced from: void us.zoom.proguard.o6.a(com.android.billingclient.api.PurchasesResponseListener))
Missing class com.android.billingclient.api.QueryPurchasesParams (referenced from: void us.zoom.proguard.o6.a(com.android.billingclient.api.PurchasesResponseListener))
Missing class com.google.android.gms.common.util.CollectionUtils (referenced from: void com.zipow.videobox.view.sip.n$a.a(us.zoom.proguard.zf, java.lang.String))
Missing class com.google.android.gms.tasks.OnCompleteListener (referenced from: void us.zoom.proguard.a11.f() and 1 other context)
Missing class com.google.android.gms.tasks.Task (referenced from: void us.zoom.proguard.a11$a.onComplete(com.google.android.gms.tasks.Task) and 1 other context)
Missing class com.google.api.client.http.GenericUrl (referenced from: java.lang.String com.google.crypto.tink.util.KeysDownloader.fetchAndCacheData())
Missing class com.google.api.client.http.HttpHeaders (referenced from: java.lang.String com.google.crypto.tink.util.KeysDownloader.fetchAndCacheData() and 1 other context)
Missing class com.google.api.client.http.HttpRequest (referenced from: java.lang.String com.google.crypto.tink.util.KeysDownloader.fetchAndCacheData())
Missing class com.google.api.client.http.HttpRequestFactory (referenced from: java.lang.String com.google.crypto.tink.util.KeysDownloader.fetchAndCacheData())
Missing class com.google.api.client.http.HttpResponse (referenced from: java.lang.String com.google.crypto.tink.util.KeysDownloader.fetchAndCacheData())
Missing class com.google.api.client.http.HttpTransport (referenced from: com.google.api.client.http.HttpTransport com.google.crypto.tink.util.KeysDownloader$Builder.httpTransport and 6 other contexts)
Missing class com.google.api.client.http.javanet.NetHttpTransport$Builder (referenced from: void com.google.crypto.tink.util.KeysDownloader.())
Missing class com.google.api.client.http.javanet.NetHttpTransport (referenced from: com.google.api.client.http.javanet.NetHttpTransport com.google.crypto.tink.util.KeysDownloader.DEFAULT_HTTP_TRANSPORT and 3 other contexts)
Missing class com.google.firebase.FirebaseApp (referenced from: void com.zipow.videobox.VideoBoxApplication.onCreated(boolean))
Missing class com.google.firebase.messaging.FirebaseMessaging (referenced from: void us.zoom.proguard.a11.f())
Missing class com.google.firebase.messaging.FirebaseMessagingService (referenced from: void com.zipow.videobox.ZMFirebaseMessagingService.() and 2 other contexts)
Missing class com.google.firebase.messaging.RemoteMessage (referenced from: void com.zipow.videobox.ZMFirebaseMessagingService.onMessageReceived(com.google.firebase.messaging.RemoteMessage))
Missing class com.google.zxing.BarcodeFormat (referenced from: void us.zoom.libtools.model.zxing.client.android.ScanQRCodeViewModel.a(us.zoom.libtools.model.zxing.client.android.ViewfinderView) and 2 other contexts)
Missing class com.google.zxing.Binarizer (referenced from: void us.zoom.libtools.model.zxing.client.android.a.a(byte, int, int))
Missing class com.google.zxing.BinaryBitmap (referenced from: void us.zoom.libtools.model.zxing.client.android.a.a(byte, int, int))
Missing class com.google.zxing.DecodeHintType (referenced from: void us.zoom.libtools.model.zxing.client.android.ScanQRCodeViewModel.a(us.zoom.libtools.model.zxing.client.android.ViewfinderView))
Missing class com.google.zxing.LuminanceSource (referenced from: void us.zoom.libtools.model.zxing.client.android.a.a(byte, int, int))
Missing class com.google.zxing.PlanarYUVLuminanceSource (referenced from: com.google.zxing.PlanarYUVLuminanceSource us.zoom.proguard.t8.a(byte, int, int))
Missing class com.google.zxing.Reader (referenced from: us.zoom.proguard.bg0)
Missing class com.google.zxing.ReaderException (referenced from: void us.zoom.libtools.model.zxing.client.android.a.a(byte, int, int))
Missing class com.google.zxing.Result (referenced from: void us.zoom.libtools.model.zxing.client.android.a.a(byte, int, int) and 2 other contexts)
Missing class com.google.zxing.ResultMetadataType (referenced from: com.google.zxing.Result us.zoom.proguard.bj4.a(com.google.zxing.common.DetectorResult, java.util.Map))
Missing class com.google.zxing.ResultPoint (referenced from: void us.zoom.libtools.model.zxing.client.android.ViewfinderView.a(com.google.zxing.ResultPoint) and 6 other contexts)
Missing class com.google.zxing.ResultPointCallback (referenced from: us.zoom.libtools.model.zxing.client.android.b)
Missing class com.google.zxing.WriterException (referenced from: android.graphics.Bitmap us.zoom.zimmsg.contacts.ShowMyQrCodeFragment.getQrCodeAsBitmap(java.lang.String))
Missing class com.google.zxing.common.BitMatrix (referenced from: void us.zoom.libtools.model.zxing.client.android.a.a(byte, int, int) and 2 other contexts)
Missing class com.google.zxing.common.DecoderResult (referenced from: com.google.zxing.Result us.zoom.proguard.bj4.a(com.google.zxing.common.DetectorResult, java.util.Map))
Missing class com.google.zxing.common.DetectorResult (referenced from: void us.zoom.libtools.model.zxing.client.android.a.a(byte, int, int) and 3 other contexts)
Missing class com.google.zxing.common.HybridBinarizer (referenced from: void us.zoom.libtools.model.zxing.client.android.a.a(byte, int, int))
Missing class com.google.zxing.qrcode.QRCodeReader (referenced from: void us.zoom.libtools.model.zxing.client.android.a.a(byte, int, int) and 2 other contexts)
Missing class com.google.zxing.qrcode.QRCodeWriter (referenced from: android.graphics.Bitmap us.zoom.zimmsg.contacts.ShowMyQrCodeFragment.getQrCodeAsBitmap(java.lang.String))
Missing class com.google.zxing.qrcode.decoder.Decoder (referenced from: com.google.zxing.qrcode.decoder.Decoder us.zoom.proguard.bj4.a and 2 other contexts)
Missing class com.google.zxing.qrcode.decoder.QRCodeDecoderMetaData (referenced from: com.google.zxing.Result us.zoom.proguard.bj4.a(com.google.zxing.common.DetectorResult, java.util.Map))
Missing class com.google.zxing.qrcode.detector.Detector (referenced from: void us.zoom.libtools.model.zxing.client.android.a.a(byte, int, int))
Missing class com.microsoft.intune.mam.client.app.MAMComponents (referenced from: void com.zipow.videobox.ZoomApplication.onCreate())
Missing class com.microsoft.intune.mam.policy.AppPolicy (referenced from: androidx.core.app.NotificationCompat$Builder com.zipow.videobox.util.NotificationMgr.a(android.content.Context, java.lang.String, java.lang.String, int) and 3 other contexts)
Missing class com.microsoft.intune.mam.policy.MAMEnrollmentManager (referenced from: void com.zipow.videobox.ZoomApplication.onCreate())
Missing class com.microsoft.intune.mam.policy.MAMServiceAuthenticationCallback (referenced from: void com.zipow.videobox.ZoomApplication.onCreate())
Missing class com.microsoft.intune.mam.policy.NotificationRestriction (referenced from: androidx.core.app.NotificationCompat$Builder com.zipow.videobox.util.NotificationMgr.a(android.content.Context, java.lang.String, java.lang.String, int) and 3 other contexts)
Missing class com.zipow.cnthirdparty.cnlogin.model.CnLoginProxy (referenced from: void us.zoom.proguard.mx2.b() and 2 other contexts)
Missing class javax.lang.model.element.Element (referenced from: javax.lang.model.element.Element us.zoom.proguard.an4.b and 14 other contexts)
Missing class javax.lang.model.element.ExecutableElement (referenced from: void us.zoom.proguard.uh4.(javax.lang.model.element.Element, boolean, javax.annotation.processing.Messager, java.lang.Class, boolean))
Missing class javax.lang.model.element.Name (referenced from: javax.lang.model.element.Name us.zoom.proguard.uh4$a.a and 3 other contexts)
Missing class javax.lang.model.element.TypeElement (referenced from: javax.lang.model.element.TypeElement us.zoom.proguard.qh3.a and 4 other contexts)
Missing class javax.lang.model.type.TypeMirror (referenced from: javax.lang.model.type.TypeMirror us.zoom.proguard.uh4$a.d and 8 other contexts)
Missing class kotlinx.parcelize.Parcelize (referenced from: com.zipow.videobox.view.sip.emergencycall.a$a and 37 other contexts)
Missing class org.joda.time.Instant (referenced from: long com.google.crypto.tink.util.KeysDownloader.getCurrentTimeInMillis())
Missing class us.zoom.apm.apis.ApmIssue (referenced from: boolean us.zoom.proguard.ol2.a(us.zoom.apm.apis.ApmIssue) and 6 other contexts)
Missing class us.zoom.apm.apis.IApmReporter (referenced from: us.zoom.proguard.ol2 and 1 other context)
Missing class us.zoom.apm.apis.IssueType (referenced from: org.json.JSONObject us.zoom.proguard.ol2.b(us.zoom.apm.apis.ApmIssue) and 2 other contexts)
Missing class us.zoom.apm.apis.ZoomHostService$ZoomInitializeListener (referenced from: void com.zipow.videobox.ZoomApplication.onCreate())
Missing class us.zoom.apm.apis.ZoomHostService (referenced from: void com.zipow.videobox.ZoomApplication.onCreate())
Missing class us.zoom.intunelib.AuthenticationCallback (referenced from: void com.zipow.videobox.ZoomApplication.onCreate())
Missing class us.zoom.intunelib.IIntuneLoginAssistant (referenced from: void com.zipow.videobox.JoinByURLActivity.onCreate(android.os.Bundle) and 4 other contexts)
Missing class us.zoom.intunelib.InTuneDownloadPolicyActivity (referenced from: void com.zipow.videobox.JoinByURLActivity.onCreate(android.os.Bundle) and 1 other context)
Missing class us.zoom.intunelib.InTuneWelcomeActivity (referenced from: void com.zipow.videobox.JoinByURLActivity.onCreate(android.os.Bundle) and 1 other context)
Missing class us.zoom.intunelib.MSALUtil (referenced from: void com.zipow.videobox.JoinByURLActivity.onCreate(android.os.Bundle) and 2 other contexts)
Missing class us.zoom.intunelib.ZmIntuneLoginManager (referenced from: boolean com.zipow.login.jni.ZmLoginApp.autoSignin(boolean) and 10 other contexts)
Missing class us.zoom.intunelib.ZmIntuneMamManager (referenced from: java.lang.String com.zipow.videobox.ZoomApplication$a.a(java.lang.String) and 6 other contexts)
Missing class us.zoom.thirdparty.login.LoginType (referenced from: boolean com.zipow.videobox.ptapp.LogoutHandler.doLogout(int) and 5 other contexts)
Missing class us.zoom.thirdparty.login.ThirdPartyLogin (referenced from: boolean com.zipow.videobox.ptapp.LogoutHandler.doLogout(int) and 5 other contexts)
Missing class us.zoom.thirdparty.login.ThirdPartyLoginFactory (referenced from: boolean com.zipow.videobox.ptapp.LogoutHandler.doLogout(int) and 5 other contexts)
Missing class us.zoom.thirdparty.login.sso.SsoUtil (referenced from: void us.zoom.proguard.g0.c(java.lang.String))
Missing class xcrash.ICrashCallback (referenced from: void us.zoom.proguard.o32.a(android.content.Context) and 1 other context)
Missing class xcrash.XCrash$InitParameters (referenced from: void us.zoom.proguard.o32.a(android.content.Context))
Missing class xcrash.XCrash (referenced from: void us.zoom.proguard.o32.a(android.content.Context))
Troubleshooting Routes
The troubleshooting attempt types you’ve already exhausted, including testing with the appropriate sample app (found on Zoom · GitHub).
How To Reproduce
Open the sample app and in the main build.gradle file update to the latest gradle version: classpath ‘com.android.tools.build:gradle:8.3.0’
Now when you try to run the sample app it will fail on :sample:minifyDebugWithR8