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
java.lang.VerifyError: Verifier rejected class #17
Comments
Hi!
Have you tried to clean the project? Invalidate cache/Restart in Android Studio? |
Don't know, why I am getting same error again and again, If I use it without Coroutine it is working fine!! Tried, Invalidate Cache/ Restart, Rebuild, Reinstall App, Different Phone. My configuration is
|
I've found an issue, and the error is very similar. That one happened because of the bug in the compiler in version 1.3.6. Yours is 1.3.3, but probably this is another one. I tried to reproduce it with my simple application and it's still working fine. Maybe the problem reproduces only with more complex classes and nested coroutines as you have. Let's try to localize the problem and perform a few experiments:
|
Hi thank you so much for your support. Mainly I need device Id so I have used below function
|
You are welcome! It's better to use |
Hi, Alexey, I have used below code as per your suggestion
But still application is crashing same way. I have also tried without try, catch block, but still I am getting same error Again thank you so much for your till support. Let me know if I can help you in any test cases. Thanks alot |
I am not very familiar with Kotlin coroutines, but there is a problem in your code. Also check for usage example in the official docs. |
I close the issue because there is a problem in the code, and there is no new information. When new information is received, we will re-open it. |
Ok, no issue, thanks for your continue support |
I don't want to use callback, for that I am using suspendCancellableCoroutine,
Below function, I have used to get deviceId
I am always getting an error like below
The text was updated successfully, but these errors were encountered: