Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R8 warnings #363

Closed
RobbWatershed opened this issue Aug 27, 2023 · 7 comments
Closed

R8 warnings #363

RobbWatershed opened this issue Aug 27, 2023 · 7 comments

Comments

@RobbWatershed
Copy link

Hi Sergey,

First of all, thanks a lot for making this library - it has helped me a lot!

I've been having a lot of warnings coming from R8. Could you investigate and tell me if I need to add a specific setting to avoid issues?

Using Android Studio Giraffe | 2022.3.1 Patch 1 and Gradle 8.1.0 here 😄

Thanks in advance~

AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Missing class android.hardware.biometrics.CryptoObject (referenced from: void dev.skomlach.biometric.compat.engine.internal.face.android.AndroidFaceUnlockModule$FaceManagerAuthCallback.onAuthenticationSucceeded(android.hardware.face.FaceManager$AuthenticationResult) and 5 other contexts)\r\nMissing class android.hardware.face.FaceManager$AuthenticationCallback (referenced from: void dev.skomlach.biometric.compat.engine.internal.face.android.AndroidFaceUnlockModule$FaceManagerAuthCallback.<init>(dev.skomlach.biometric.compat.engine.internal.face.android.AndroidFaceUnlockModule, dev.skomlach.biometric.compat.BiometricCryptoObject, dev.skomlach.biometric.compat.engine.core.interfaces.RestartPredicate, androidx.core.os.CancellationSignal, dev.skomlach.biometric.compat.engine.core.interfaces.AuthenticationListener) and 2 other contexts)\r\nMissing class android.hardware.face.FaceManager$AuthenticationResult (referenced from: void dev.skomlach.biometric.compat.engine.internal.face.android.AndroidFaceUnlockModule$FaceManagerAuthCallback.onAuthenticationSucceeded(android.hardware.face.FaceManager$AuthenticationResult))\r\nMissing class android.hardware.face.FaceManager (referenced from: android.hardware.face.FaceManager dev.skomlach.biometric.compat.engine.internal.face.android.AndroidFaceUnlockModule.manager and 4 other contexts)\r\nMissing class android.hardware.face.OppoMirrorFaceManager$AuthenticationCallback (referenced from: void dev.skomlach.biometric.compat.engine.internal.face.oppo.OppoFaceUnlockModule$AuthCallback.<init>(dev.skomlach.biometric.compat.engine.internal.face.oppo.OppoFaceUnlockModule, dev.skomlach.biometric.compat.BiometricCryptoObject, dev.skomlach.biometric.compat.engine.core.interfaces.RestartPredicate, androidx.core.os.CancellationSignal, dev.skomlach.biometric.compat.engine.core.interfaces.AuthenticationListener) and 2 other contexts)\r\nMissing class android.hardware.face.OppoMirrorFaceManager$AuthenticationResult (referenced from: void dev.skomlach.biometric.compat.engine.internal.face.oppo.OppoFaceUnlockModule$AuthCallback.onAuthenticationSucceeded(android.hardware.face.OppoMirrorFaceManager$AuthenticationResult))\r\nMissing class android.hardware.face.OppoMirrorFaceManager (referenced from: android.hardware.face.OppoMirrorFaceManager dev.skomlach.biometric.compat.engine.internal.face.oppo.OppoFaceUnlockModule.manager and 4 other contexts)\r\nMissing class android.hardware.iris.IrisManager$AuthenticationCallback (referenced from: void dev.skomlach.biometric.compat.engine.internal.iris.android.AndroidIrisUnlockModule$AuthCallback.<init>(dev.skomlach.biometric.compat.engine.internal.iris.android.AndroidIrisUnlockModule, dev.skomlach.biometric.compat.BiometricCryptoObject, dev.skomlach.biometric.compat.engine.core.interfaces.RestartPredicate, androidx.core.os.CancellationSignal, dev.skomlach.biometric.compat.engine.core.interfaces.AuthenticationListener) and 2 other contexts)\r\nMissing class android.hardware.iris.IrisManager$AuthenticationResult (referenced from: void dev.skomlach.biometric.compat.engine.internal.iris.android.AndroidIrisUnlockModule$AuthCallback.onAuthenticationSucceeded(android.hardware.iris.IrisManager$AuthenticationResult))\r\nMissing class android.hardware.iris.IrisManager (referenced from: android.hardware.iris.IrisManager dev.skomlach.biometric.compat.engine.internal.iris.android.AndroidIrisUnlockModule.manager and 4 other contexts)\r\nMissing class android.os.ServiceManager (referenced from: void com.fingerprints.service.FingerprintManager.notifyScreenOff() and 1 other context)\r\nMissing class com.hihonor.android.facerecognition.FaceRecognizeManager$FaceRecognitionAbility (referenced from: boolean dev.skomlach.biometric.compat.engine.internal.face.hihonor.impl.HihonorFaceManagerV1Impl.isHardwareDetected())\r\nMissing class com.hihonor.android.facerecognition.FaceRecognizeManager$FaceRecognizeCallback (referenced from: com.hihonor.android.facerecognition.FaceRecognizeManager$FaceRecognizeCallback dev.skomlach.biometric.compat.engine.internal.face.hihonor.impl.HihonorFaceRecognizeManager.mFRCallback and 2 other contexts)\r\nMissing class com.hihonor.android.facerecognition.FaceRecognizeManager (referenced from: com.hihonor.android.facerecognition.FaceRecognizeManager dev.skomlach.biometric.compat.engine.internal.face.hihonor.impl.HihonorFaceRecognizeManager.fRManager and 9 other contexts)\r\nMissing class com.huawei.facerecognition.FaceRecognizeManager$FaceRecognitionAbility (referenced from: boolean dev.skomlach.biometric.compat.engine.internal.face.huawei.impl.HuaweiFaceManagerV1Impl.isHardwareDetected())\r\nMissing class com.huawei.facerecognition.FaceRecognizeManager$FaceRecognizeCallback (referenced from: com.huawei.facerecognition.FaceRecognizeManager$FaceRecognizeCallback dev.skomlach.biometric.compat.engine.internal.face.huawei.impl.HuaweiFaceRecognizeManager.mFRCallback and 2 other contexts)\r\nMissing class com.huawei.facerecognition.FaceRecognizeManager (referenced from: com.huawei.facerecognition.FaceRecognizeManager dev.skomlach.biometric.compat.engine.internal.face.huawei.impl.HuaweiFaceRecognizeManager.fRManager and 9 other contexts)\r\nMissing class com.samsung.android.bio.face.SemBioFaceManager$AuthenticationCallback (referenced from: void dev.skomlach.biometric.compat.engine.internal.face.samsung.SamsungFaceUnlockModule$AuthCallback.<init>(dev.skomlach.biometric.compat.engine.internal.face.samsung.SamsungFaceUnlockModule, dev.skomlach.biometric.compat.BiometricCryptoObject, dev.skomlach.biometric.compat.engine.core.interfaces.RestartPredicate, androidx.core.os.CancellationSignal, dev.skomlach.biometric.compat.engine.core.interfaces.AuthenticationListener) and 2 other contexts)\r\nMissing class com.samsung.android.bio.face.SemBioFaceManager$AuthenticationResult (referenced from: void dev.skomlach.biometric.compat.engine.internal.face.samsung.SamsungFaceUnlockModule$AuthCallback.onAuthenticationSucceeded(com.samsung.android.bio.face.SemBioFaceManager$AuthenticationResult))\r\nMissing class com.samsung.android.bio.face.SemBioFaceManager$CryptoObject (referenced from: void dev.skomlach.biometric.compat.engine.internal.face.samsung.SamsungFaceUnlockModule$AuthCallback.onAuthenticationSucceeded(com.samsung.android.bio.face.SemBioFaceManager$AuthenticationResult) and 1 other context)\r\nMissing class com.samsung.android.bio.face.SemBioFaceManager (referenced from: com.samsung.android.bio.face.SemBioFaceManager dev.skomlach.biometric.compat.engine.internal.face.samsung.SamsungFaceUnlockModule.manager and 4 other contexts)\r\nMissing class com.samsung.android.camera.iris.SemIrisManager$AuthenticationCallback (referenced from: void dev.skomlach.biometric.compat.engine.internal.iris.samsung.SamsungIrisUnlockModule$AuthCallback.<init>(dev.skomlach.biometric.compat.engine.internal.iris.samsung.SamsungIrisUnlockModule, dev.skomlach.biometric.compat.BiometricCryptoObject, dev.skomlach.biometric.compat.engine.core.interfaces.RestartPredicate, androidx.core.os.CancellationSignal, dev.skomlach.biometric.compat.engine.core.interfaces.AuthenticationListener) and 2 other contexts)\r\nMissing class com.samsung.android.camera.iris.SemIrisManager$AuthenticationResult (referenced from: void dev.skomlach.biometric.compat.engine.internal.iris.samsung.SamsungIrisUnlockModule$AuthCallback.onAuthenticationSucceeded(com.samsung.android.camera.iris.SemIrisManager$AuthenticationResult))\r\nMissing class com.samsung.android.camera.iris.SemIrisManager$CryptoObject (referenced from: void dev.skomlach.biometric.compat.engine.internal.iris.samsung.SamsungIrisUnlockModule$AuthCallback.onAuthenticationSucceeded(com.samsung.android.camera.iris.SemIrisManager$AuthenticationResult) and 1 other context)\r\nMissing class com.samsung.android.camera.iris.SemIrisManager (referenced from: com.samsung.android.camera.iris.SemIrisManager dev.skomlach.biometric.compat.engine.internal.iris.samsung.SamsungIrisUnlockModule.manager and 4 other contexts)\r\nMissing class com.samsung.android.fingerprint.FingerprintEvent (referenced from: com.samsung.android.fingerprint.FingerprintEvent com.samsung.android.sdk.pass.SpassFingerprint$c.b and 14 other contexts)\r\nMissing class com.samsung.android.fingerprint.FingerprintIdentifyDialog$FingerprintListener (referenced from: android.app.Dialog com.samsung.android.sdk.pass.support.IFingerprintManagerProxy.showIdentifyDialog(android.content.Context, com.samsung.android.fingerprint.FingerprintIdentifyDialog$FingerprintListener, java.lang.String, boolean) and 1 other context)\r\nMissing class com.samsung.android.fingerprint.FingerprintManager$EnrollFinishListener (referenced from: boolean com.samsung.android.sdk.pass.support.IFingerprintManagerProxy.startEnrollActivity(android.content.Context, com.samsung.android.fingerprint.FingerprintManager$EnrollFinishListener, java.lang.String) and 1 other context)\r\nMissing class com.samsung.android.fingerprint.FingerprintManager (referenced from: void com.samsung.android.sdk.pass.SpassFingerprint.<init>(android.content.Context))\r\nMissing class com.samsung.android.fingerprint.IFingerprintClient$Stub (referenced from: void com.samsung.android.sdk.pass.SpassFingerprint$b.<init>(com.samsung.android.sdk.pass.SpassFingerprint, com.samsung.android.sdk.pass.SpassFingerprint$IdentifyListener) and 1 other context)\r\nMissing class com.samsung.android.fingerprint.IFingerprintClient (referenced from: int com.samsung.android.sdk.pass.support.IFingerprintManagerProxy.identifyWithDialog(android.content.Context, com.samsung.android.fingerprint.IFingerprintClient, android.os.Bundle) and 1 other context)","sources":[{}],"tool":"R8"}
Missing class android.hardware.biometrics.CryptoObject (referenced from: void dev.skomlach.biometric.compat.engine.internal.face.android.AndroidFaceUnlockModule$FaceManagerAuthCallback.onAuthenticationSucceeded(android.hardware.face.FaceManager$AuthenticationResult) and 5 other contexts)
Missing class android.hardware.face.FaceManager$AuthenticationCallback (referenced from: void dev.skomlach.biometric.compat.engine.internal.face.android.AndroidFaceUnlockModule$FaceManagerAuthCallback.<init>(dev.skomlach.biometric.compat.engine.internal.face.android.AndroidFaceUnlockModule, dev.skomlach.biometric.compat.BiometricCryptoObject, dev.skomlach.biometric.compat.engine.core.interfaces.RestartPredicate, androidx.core.os.CancellationSignal, dev.skomlach.biometric.compat.engine.core.interfaces.AuthenticationListener) and 2 other contexts)
Missing class android.hardware.face.FaceManager$AuthenticationResult (referenced from: void dev.skomlach.biometric.compat.engine.internal.face.android.AndroidFaceUnlockModule$FaceManagerAuthCallback.onAuthenticationSucceeded(android.hardware.face.FaceManager$AuthenticationResult))
Missing class android.hardware.face.FaceManager (referenced from: android.hardware.face.FaceManager dev.skomlach.biometric.compat.engine.internal.face.android.AndroidFaceUnlockModule.manager and 4 other contexts)
Missing class android.hardware.face.OppoMirrorFaceManager$AuthenticationCallback (referenced from: void dev.skomlach.biometric.compat.engine.internal.face.oppo.OppoFaceUnlockModule$AuthCallback.<init>(dev.skomlach.biometric.compat.engine.internal.face.oppo.OppoFaceUnlockModule, dev.skomlach.biometric.compat.BiometricCryptoObject, dev.skomlach.biometric.compat.engine.core.interfaces.RestartPredicate, androidx.core.os.CancellationSignal, dev.skomlach.biometric.compat.engine.core.interfaces.AuthenticationListener) and 2 other contexts)
Missing class android.hardware.face.OppoMirrorFaceManager$AuthenticationResult (referenced from: void dev.skomlach.biometric.compat.engine.internal.face.oppo.OppoFaceUnlockModule$AuthCallback.onAuthenticationSucceeded(android.hardware.face.OppoMirrorFaceManager$AuthenticationResult))
Missing class android.hardware.face.OppoMirrorFaceManager (referenced from: android.hardware.face.OppoMirrorFaceManager dev.skomlach.biometric.compat.engine.internal.face.oppo.OppoFaceUnlockModule.manager and 4 other contexts)
Missing class android.hardware.iris.IrisManager$AuthenticationCallback (referenced from: void dev.skomlach.biometric.compat.engine.internal.iris.android.AndroidIrisUnlockModule$AuthCallback.<init>(dev.skomlach.biometric.compat.engine.internal.iris.android.AndroidIrisUnlockModule, dev.skomlach.biometric.compat.BiometricCryptoObject, dev.skomlach.biometric.compat.engine.core.interfaces.RestartPredicate, androidx.core.os.CancellationSignal, dev.skomlach.biometric.compat.engine.core.interfaces.AuthenticationListener) and 2 other contexts)
Missing class android.hardware.iris.IrisManager$AuthenticationResult (referenced from: void dev.skomlach.biometric.compat.engine.internal.iris.android.AndroidIrisUnlockModule$AuthCallback.onAuthenticationSucceeded(android.hardware.iris.IrisManager$AuthenticationResult))
Missing class android.hardware.iris.IrisManager (referenced from: android.hardware.iris.IrisManager dev.skomlach.biometric.compat.engine.internal.iris.android.AndroidIrisUnlockModule.manager and 4 other contexts)
Missing class android.os.ServiceManager (referenced from: void com.fingerprints.service.FingerprintManager.notifyScreenOff() and 1 other context)
Missing class com.hihonor.android.facerecognition.FaceRecognizeManager$FaceRecognitionAbility (referenced from: boolean dev.skomlach.biometric.compat.engine.internal.face.hihonor.impl.HihonorFaceManagerV1Impl.isHardwareDetected())
Missing class com.hihonor.android.facerecognition.FaceRecognizeManager$FaceRecognizeCallback (referenced from: com.hihonor.android.facerecognition.FaceRecognizeManager$FaceRecognizeCallback dev.skomlach.biometric.compat.engine.internal.face.hihonor.impl.HihonorFaceRecognizeManager.mFRCallback and 2 other contexts)
Missing class com.hihonor.android.facerecognition.FaceRecognizeManager (referenced from: com.hihonor.android.facerecognition.FaceRecognizeManager dev.skomlach.biometric.compat.engine.internal.face.hihonor.impl.HihonorFaceRecognizeManager.fRManager and 9 other contexts)
Missing class com.huawei.facerecognition.FaceRecognizeManager$FaceRecognitionAbility (referenced from: boolean dev.skomlach.biometric.compat.engine.internal.face.huawei.impl.HuaweiFaceManagerV1Impl.isHardwareDetected())
Missing class com.huawei.facerecognition.FaceRecognizeManager$FaceRecognizeCallback (referenced from: com.huawei.facerecognition.FaceRecognizeManager$FaceRecognizeCallback dev.skomlach.biometric.compat.engine.internal.face.huawei.impl.HuaweiFaceRecognizeManager.mFRCallback and 2 other contexts)
Missing class com.huawei.facerecognition.FaceRecognizeManager (referenced from: com.huawei.facerecognition.FaceRecognizeManager dev.skomlach.biometric.compat.engine.internal.face.huawei.impl.HuaweiFaceRecognizeManager.fRManager and 9 other contexts)
Missing class com.samsung.android.bio.face.SemBioFaceManager$AuthenticationCallback (referenced from: void dev.skomlach.biometric.compat.engine.internal.face.samsung.SamsungFaceUnlockModule$AuthCallback.<init>(dev.skomlach.biometric.compat.engine.internal.face.samsung.SamsungFaceUnlockModule, dev.skomlach.biometric.compat.BiometricCryptoObject, dev.skomlach.biometric.compat.engine.core.interfaces.RestartPredicate, androidx.core.os.CancellationSignal, dev.skomlach.biometric.compat.engine.core.interfaces.AuthenticationListener) and 2 other contexts)
Missing class com.samsung.android.bio.face.SemBioFaceManager$AuthenticationResult (referenced from: void dev.skomlach.biometric.compat.engine.internal.face.samsung.SamsungFaceUnlockModule$AuthCallback.onAuthenticationSucceeded(com.samsung.android.bio.face.SemBioFaceManager$AuthenticationResult))
Missing class com.samsung.android.bio.face.SemBioFaceManager$CryptoObject (referenced from: void dev.skomlach.biometric.compat.engine.internal.face.samsung.SamsungFaceUnlockModule$AuthCallback.onAuthenticationSucceeded(com.samsung.android.bio.face.SemBioFaceManager$AuthenticationResult) and 1 other context)
Missing class com.samsung.android.bio.face.SemBioFaceManager (referenced from: com.samsung.android.bio.face.SemBioFaceManager dev.skomlach.biometric.compat.engine.internal.face.samsung.SamsungFaceUnlockModule.manager and 4 other contexts)
Missing class com.samsung.android.camera.iris.SemIrisManager$AuthenticationCallback (referenced from: void dev.skomlach.biometric.compat.engine.internal.iris.samsung.SamsungIrisUnlockModule$AuthCallback.<init>(dev.skomlach.biometric.compat.engine.internal.iris.samsung.SamsungIrisUnlockModule, dev.skomlach.biometric.compat.BiometricCryptoObject, dev.skomlach.biometric.compat.engine.core.interfaces.RestartPredicate, androidx.core.os.CancellationSignal, dev.skomlach.biometric.compat.engine.core.interfaces.AuthenticationListener) and 2 other contexts)
Missing class com.samsung.android.camera.iris.SemIrisManager$AuthenticationResult (referenced from: void dev.skomlach.biometric.compat.engine.internal.iris.samsung.SamsungIrisUnlockModule$AuthCallback.onAuthenticationSucceeded(com.samsung.android.camera.iris.SemIrisManager$AuthenticationResult))
Missing class com.samsung.android.camera.iris.SemIrisManager$CryptoObject (referenced from: void dev.skomlach.biometric.compat.engine.internal.iris.samsung.SamsungIrisUnlockModule$AuthCallback.onAuthenticationSucceeded(com.samsung.android.camera.iris.SemIrisManager$AuthenticationResult) and 1 other context)
Missing class com.samsung.android.camera.iris.SemIrisManager (referenced from: com.samsung.android.camera.iris.SemIrisManager dev.skomlach.biometric.compat.engine.internal.iris.samsung.SamsungIrisUnlockModule.manager and 4 other contexts)
Missing class com.samsung.android.fingerprint.FingerprintEvent (referenced from: com.samsung.android.fingerprint.FingerprintEvent com.samsung.android.sdk.pass.SpassFingerprint$c.b and 14 other contexts)
Missing class com.samsung.android.fingerprint.FingerprintIdentifyDialog$FingerprintListener (referenced from: android.app.Dialog com.samsung.android.sdk.pass.support.IFingerprintManagerProxy.showIdentifyDialog(android.content.Context, com.samsung.android.fingerprint.FingerprintIdentifyDialog$FingerprintListener, java.lang.String, boolean) and 1 other context)
Missing class com.samsung.android.fingerprint.FingerprintManager$EnrollFinishListener (referenced from: boolean com.samsung.android.sdk.pass.support.IFingerprintManagerProxy.startEnrollActivity(android.content.Context, com.samsung.android.fingerprint.FingerprintManager$EnrollFinishListener, java.lang.String) and 1 other context)
Missing class com.samsung.android.fingerprint.FingerprintManager (referenced from: void com.samsung.android.sdk.pass.SpassFingerprint.<init>(android.content.Context))
Missing class com.samsung.android.fingerprint.IFingerprintClient$Stub (referenced from: void com.samsung.android.sdk.pass.SpassFingerprint$b.<init>(com.samsung.android.sdk.pass.SpassFingerprint, com.samsung.android.sdk.pass.SpassFingerprint$IdentifyListener) and 1 other context)
Missing class com.samsung.android.fingerprint.IFingerprintClient (referenced from: int com.samsung.android.sdk.pass.support.IFingerprintManagerProxy.identifyWithDialog(android.content.Context, com.samsung.android.fingerprint.IFingerprintClient, android.os.Bundle) and 1 other context)


AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\d0bb21b7d87b3079a68b8a17f079e387\\transformed\\biometric-2.2.3-runtime.jar"}],"tool":"R8"}
@sergeykomlach
Copy link
Owner

Hi.
Such a log appears because the library uses some device-specific and/or Gray-listed classes, so R8 during obfuscation can't create a references tree properly.
It doesn't have any effect on the final code execution, just warns about unexpected cases.?
It seems like I need to do some fine-tuning in Proguard rules. Thank you for reporting

@RobbWatershed
Copy link
Author

It doesn't have any effect on the final code execution, just warns about unexpected cases.?

Yup, the library works as expected so far, though I don't have all the devices you have to test vendor edge cases.

It seems like I need to do some fine-tuning in Proguard rules.

Thanks!

@sergeykomlach
Copy link
Owner

It doesn't have any effect on the final code execution, just warns about unexpected cases.?

Yup, the library works as expected so far, though I don't have all the devices you have to test vendor edge cases.

It seems like I need to do some fine-tuning in Proguard rules.

Thanks!

You already can try the new version 2.2.4 for me the issue with Missing class... is gone.
Remains R8 warnings, that's relate class file version - some old JAR libraries from Samsung/Meizu contains classes, compiled with ClassVersion=50, when now ClassVersion=51 required.
I'm working under this fix too

@RobbWatershed
Copy link
Author

Unfortunately, I can't test it right now as you've included window:1.2.0-beta01, which needs API34. However, my app hasn't made the jump yet 😅

@sergeykomlach
Copy link
Owner

@RobbWatershed so I downgrade the window version, now should be OK.
Also added a new section to README
Most of the warnings were removed, remains only a few, related to Samsung's libraries and older Class File versions (50 instead of modern 51).
Honestly, do not see any way how to remove it

@RobbWatershed
Copy link
Author

Thanks! I confirm missing classes are not among warnings anymore 👌

However, I'm still getting ~40 lines of

AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow. In later version of R8, the method may be assumed not reachable.","sources":[{"file":"C:\\Users\\aaa\\.gradle\\caches\\transforms-3\\5c959d4a266b6bc524525b8e67075321\\transformed\\biometric-2.2.5-runtime.jar"}],"tool":"R8"}

As it says "In later version of R8, the method may be assumed not reachable", shouldn't I completely exclude your library to the scope of R8 to avoid future issues?

@sergeykomlach
Copy link
Owner

As I said earlier, some warnings from Samsung Pass SDK remain - I didn't find a way to suppress or hide these warnings
They don't have an effect on libraries or applications for now, but I'll continue watching, maybe in future just update the minimal SDK level in the library and remove obsolete SDKs like Samsung Pass or Meizu SDK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants