Has anyone encountered an error like this before? ...
# android
g
Has anyone encountered an error like this before?
Copy code
java.lang.VerifyError: Verifier rejected class 
    my.class.method: void my.class.method.<init>(ParameterType, kotlin.jvm.functions.Function2, kotlin.coroutines.Continuation)
     failed to verify: 
 void my.class.method.<init>(ParameterType, kotlin.jvm.functions.Function2, kotlin.coroutines.Continuation):
  [0x0] register v2 has type Reference: 
  kotlin.jvm.functions.Function2
   but expected Reference: 
   kotlin.coroutines.jvm.internal.SuspendLambda
f
It seems to be like an obfuscation issue, did you check the proguard rule?
☝️ 1
g
any rule in specific?
or you just mean the rules file?
f
Can’t tell, each app has its own particularity.
👍 1
You need to check if the expected class (mostly about serialization) is in the proguard file. I can’t help much.
g
thx for the tip anyway, gave me some ideas on where to investigate more 🙂