When using kotlin+ coroutine, compiling APK will throw Java lang.VerifyError: Verifier rejected class …
Cause: a supend method marked by a coroutine uses @JvmStatic annotation, resulting in a verify error when compiling and parsing code.
Solution: remove the annotation of the supend method.
Read More:
- Kotlin activity Startup and Compile Error [How to Solve]
- Flutter: How to Fix Android module can’t recognize flutter SDK source code
- [Solved] HttpMessageNotReadableException: JSON parse error: Unrecognized field “xxxx“
- How to Solve Tomcat Error: Could not resolve view with name ‘xxx/xxxxxxx‘ in servlet with
- Spring Error: Transaction synchronization is not active
- Java Error: No enclosing instance of type Main is accessible. Must qualify the allocation with an encl
- SpringCloud Use openFeign Multipartfile to Upload Files Error: Current request is not a multipart request
- The node requests the API address written by java to report an error error:getaddrinfo ENOTFOUND
- Java error: java.lang.NoSuchMethodError
- [Solved] IDEA: Internal error (java.lang.UnsupportedClassVersionError)
- [Solved] Idea Build error. The symbol — Lombok cannot be found
- Notes for migrating Oracle jdk8 to openjdk11
- [Solved] SpringBoot Error: This application has no explicit mapping for /error,so you are seeing this as a fallback
- Mybatis reports an error (error building sqlsession.) when using annotations without deleting redundant files
- How to Solve Junit Unit Test Error: “No runnable methods“
- SpringBoot Project Run Page Error: Whitelabel Error Page This application has no explicit mapping for /error
- [Solved] org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class
- How to Solve Error:java.io.InvalidClassException
- [Solved] Mvel2 Error: java.lang.VerifyError method: getKnownEgressType signature
- Springboot controls the startup of rabbitmq through configuration files