VerifyError: Verifier rejected class Android Origin: On your device OSI layer 7 · Application Last updated 25 Nov 2026

java.lang.VerifyError: Verifier rejected class com.example.Foo: void com.example.Foo.bar() failed to verify

ART's verifier rejected the bytecode.

Exact message you may see VerifyError Verifier rejected classfailed to verifyjava.lang.VerifyError: Verifier rejected class com.example.Foo: void com.example.Foo.bar() failed to verify
Seen on: Android Java

Meaning

Often from mixing library versions, a bad desugaring or an obfuscation bug. Clean build, align dependency versions and update AGP/R8.

Common causes

  • Mismatched library versions
  • R8/desugaring bug
  • Corrupt class

⚡ Quick fix

  1. Clean and rebuild
  2. Align dependency versions
  3. Update AGP/R8

Detailed fix by platform

Shell

  1. ./gradlew clean :app:assembleDebug

How to diagnose

  1. Libraries — aligned?
  2. AGP — latest?
  3. R8 — involved?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: On your device. Errors that are often confused with or caused by this one (click to open):

An instance was deallocated while key value observers were still registered — NSInternalInconsistencyException: An instance 0x7f of class Foo was deallocated while key value observers were still registered with it (iOS)An instance was deall…App crashes after restore on a new phone — (behavior) crash on first launch after device transfer / Auto Backup (Android)App crashes after res…BadParcelableException: ClassNotFoundException when unmarshalling — android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.example.Model (Android)BadParcelableExceptio…ClassCastException: cannot be cast to android.widget — java.lang.ClassCastException: android.widget.Button cannot be cast to android.widget.TextView (Android)ClassCastException: c…ClassNotFoundException only in release — java.lang.ClassNotFoundException: Didn't find class "com.example.Model" on path: DexPathList (Android)ClassNotFoundExceptio…ConcurrentModificationException while iterating — java.util.ConcurrentModificationException at java.util.ArrayList$Itr.next (Android)ConcurrentModificatio…Crash report not symbolicated (missing dSYM) — Crashlytics: Missing dSYM — upload dSYMs to see readable stack traces (iOS)Crash report not symb…Duplicate class — Duplicate class X found in modules A and B (Android)Duplicate classVerifyErr…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.