This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/android/troubleshooting/java-lang-noclassdeffounderror.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. NoClassDefFoundError

If you’re getting java.lang.NoClassDefFoundError inside com.android.internal.os.ZygoteInit.main, this usually means the native library couldn’t be loaded. A common reason for this is either an invalid or too aggressive ProGuard configuration, or stale caches.

Clean all intermediate build files (in Android Studio: Build > Clean Project) and rebuild your app to determine whether or not this is the case.