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:
- [Solved] Mvel2 Error: java.lang.VerifyError method: getKnownEgressType signature
- How to Solve Flynk Task Java verifyerror 209 error
- [Solved] Hibernate Error: java.lang.StackOverflowError at java.lang.Integer.toString(Integer.java:402)
- [Solved] Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of
- [Solved] Java.lang.ClassCastException: [Ljava.lang.Long; cannot be cast to java.util.List
- [Solved] nacos Startup Error: nested exception is java.lang.RuntimeException: java.lang.RuntimeException: [db-load-error
- [Solved] JAVA OpenCV Startup Error: java.lang.UnsatisfiedLinkError
- [Solved] JAVA fx Error: java.lang.instrument ASSERTION FAILED ***: “!errorOutstanding“ with message transform
- [Solved] Hbase-shell 2.x Error: Unhandled Java exception: java.lang.IncompatibleClassChangeError: Found class jline.Terminal…
- [Solved] Java 9 reflection error: java.lang.reflect.InaccessibleObjectException
- Java uses class array to report error Exception in thread “main” java.lang.NullPointerException solution
- [Solved] java Internal error in the mapping processor java.lang.NullPointerException
- [Solved] java Internal error in the mapping processor java.lang.NullPointerException
- [Solved] java: Internal error in the mapping processor: java.lang.NullPointerException
- [Solved] JAVA Project Import jstl Error: java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagLibraryValidator
- JAVA error: java.lang.OutOfMemoryError:GC overhead limit exceeded
- [Solved] IDEA springboot Startup Error: java.lang.UnsatisfiedLinkError: no tcnative-1 in java.library.path
- java: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x590
- Java error: java.lang.NoSuchMethodError
- [Solved] JAVA Error: Error occurred during initialization of boot layer java.lang.module.FindException