Error map

Class android.support.v4 not found after AndroidX java.lang.NoClassDefFoundError: android/support/v4/app/Fragment

Android · layer 1, On your device

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

Class android.support.v4 not found after AndroidX — java.lang.NoClassDefFoundError: android/support/v4/app/Fragment (Android)Class andro…Duplicate class — Duplicate class X found in modules A and B (Android)Duplicate classandroid:attr/lStar not found — AAPT: error: resource android:attr/lStar not found (Android)android:attr/lStar …Core Data: Failed to load model named / Unresolved error — Fatal error: Unresolved error Error Domain=NSCocoaErrorDomain Code=134060 (iOS)Core Data: Failed t…INSTALL_FAILED_MISSING_SHARED_LIBRARY — Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY] (Android)INSTALL_FAILED_MISS…SwiftData: Failed to create ModelContainer — Fatal error: Could not create ModelContainer: SwiftDataError(_error: SwiftData.SwiftDataError._Error.loadIssueModelContainer) (iOS)SwiftData: Failed t…Error building the app bundle — Execution failed for task ':app:bundleRelease'. Error while executing bundletool (Android)Error building the …Jetifier: Failed to transform artifact — Failed to transform artifact 'xyz.aar' to match attributes ... Jetifier (Android)Jetifier: Failed to…Attribute application@label value=(@string/app_name) is also present at [lib] value=(Lib). Suggestion: add 'tools:rep... — Manifest merger failed : Attribute application@label value=(@string/app_name) from AndroidManifest.xml:12:9-41 is also present at [com.example:lib:1.0] AndroidManifest.xml:8:9-30 value=(Lib). (Android)Attribute applicati…Room: AutoMigration requires a spec for renamed/deleted columns — error: Schema 1 to 2 has a renamed/deleted column, an AutoMigration spec is required (Android)Room: AutoMigration…Unresolved reference: kotlinx.android.synthetic — error: Unresolved reference: synthetic (Android)Unresolved referenc…uses-sdk:minSdkVersion cannot be smaller than version declared in library — uses-sdk:minSdkVersion 21 cannot be smaller than version 23 declared in library (Android)uses-sdk:minSdkVers…IllegalStateException: A migration from 1 to 2 was required but not found — java.lang.IllegalStateException: A migration from 1 to 2 was required but not found. Please provide the necessary Migration path (Android)IllegalStateExcepti…Could not resolve — Gradle: Could not resolve all files for configuration / Could not resolve dependency (Android)Could not resolveClassNotFoundException — java.lang.ClassNotFoundException / NoClassDefFoundError (Java)ClassNotFoundExcept…Manifest merger failed — Manifest merger failed: android:exported needs to be explicitly specified (Android)Manifest merger fai…Unsupported class file major version — Gradle: Unsupported class file major version / Android Gradle plugin requires Java 17 to run (Android)Unsupported class f…FailedScheduling — Kubernetes: Pod stuck in Pending — FailedScheduling: 0/3 nodes are available (Kubernetes)FailedSchedulingEvicted — Kubernetes: Pod Evicted — The node was low on resource: memory / ephemeral-storage (Kubernetes)EvictedNSUnknownKeyException — NSUnknownKeyException: this class is not key value coding-compliant for the key x (iOS)NSUnknownKeyExcepti…Core Data: NSManagedObjectContext was accessed from the wrong queue — CoreData: error: Serious application error. Exception was caught during Core Data change processing (iOS)Core Data: NSManage…Core Data: constraint violation (NSConstraintConflict) — Error Domain=NSCocoaErrorDomain Code=133021 "Could not merge changes." NSConstraintConflict (iOS)Core Data: constrai…INSTALL_FAILED_NO_MATCHING_ABIS — INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries (Android)INSTALL_FAILED_NO_M…INSTALL_FAILED_OLDER_SDK — INSTALL_FAILED_OLDER_SDK / INSTALL_FAILED_DEPRECATED_SDK_VERSION (Android)INSTALL_FAILED_OLDE…ActivityNotFoundException — ActivityNotFoundException: Unable to find explicit activity class; have you declared this activity in your AndroidManifest.xml? (Android)ActivityNotFoundExc…Modifying state during view update — SwiftUI: Modifying state during view update, this will cause undefined behavior (iOS)Modifying state dur…App Review Guideline 2.1: App Completeness — Guideline 2.1 - Performance - App Completeness: We discovered one or more bugs in your app (iOS)App Review Guidelin…Terminated due to memory issue (jetsam) — Termination Reason: ... per-process-limit / EXC_RESOURCE RESOURCE_TYPE_MEMORY (iOS)Terminated due to m…Failed to find target with hash string — Failed to find target with hash string 'android-34' / Failed to install the following Android SDK packages as some licences have not been accepted (Android)Failed to find targ…Minimum supported Gradle version — Minimum supported Gradle version is 8.7. Current version is 8.2 (Android)Minimum supported G…Namespace not specified — Namespace not specified. Specify a namespace in the module's build file (AGP 8) (Android)Namespace not speci…Android resource linking failed — AAPT: error: resource x (aka y) not found — Android resource linking failed (Android)Android resource li…Android Gradle plugin requires a newer Gradle — The Android Gradle plugin supports only Gradle version 8.x and higher. Current Gradle version is 7.x (Android)Android Gradle plug…Android Gradle plugin requires Java 17 — Android Gradle plugin requires Java 17 to run. You are currently using Java 11 (Android)Android Gradle plug…INSTALL_FAILED_CONFLICTING_PROVIDER — Failure [INSTALL_FAILED_CONFLICTING_PROVIDER] (Android)INSTALL_FAILED_CONF…MissingForegroundServiceTypeException — android.app.MissingForegroundServiceTypeException: Starting FGS without a type (Android)MissingForegroundSe…Package not visible: getPackageInfo throws NameNotFoundException on Android 11 — android.content.pm.PackageManager$NameNotFoundException: com.whatsapp (Android)Package not visible…Room cannot verify the data integrity — Room cannot verify the data integrity. Looks like you've changed schema but forgot to update the version number (Android)Room cannot verify …Cannot access database on the main thread — Room: Cannot access database on the main thread since it may potentially lock the UI for a long period of time (Android)Cannot access datab…KSP: processor not found / unresolved reference to generated class — [ksp] Unresolved reference: AppDatabase_Impl (Android)KSP: processor not …incompatible version of Kotlin — Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.0.0, expected version is 1.8.0 (Android)incompatible versio…Inconsistent JVM-target compatibility — Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (17) and 'compileDebugKotlin' (1.8) (Android)Inconsistent JVM-ta…Compose Compiler requires a different Kotlin version — This version (1.5.3) of the Compose Compiler requires Kotlin version 1.9.10 but you appear to be using Kotlin version 1.9.0 (Android)Compose Compiler re…Dependency requires compileSdk — Dependency 'androidx.x:1.y' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs (Android)Dependency requires…AdMob: ERROR_CODE_INTERNAL_ERROR (0) — Ad failed to load : 0 / ERROR_CODE_INTERNAL_ERROR (Android)AdMob: ERROR_CODE_I…Launcher activity not found / Default Activity not found — Error running 'app': Default Activity not found (Android)Launcher activity n…Room: An entity must have at least 1 field annotated with @PrimaryKey — error: An entity must have at least 1 field annotated with @PrimaryKey (Android)Room: An entity mus…Room: Cannot figure out how to save this field into database — error: Cannot figure out how to save this field into database. You can consider adding a type converter for it. (Android)Room: Cannot figure…Room: There is a problem with the query: no such column — error: There is a problem with the query: [SQLITE_ERROR] SQL error or missing database (no such column: userName) (Android)Room: There is a pr…

Directly related (12)

Duplicate classAndroid

Duplicate class X found in modules A and B

Two dependencies ship the same class — typically old Android Support libraries mixed with AndroidX, or Kotlin stdlib-jdk7/jdk8 ve…

android:attr/lStar not foundAndroid

AAPT: error: resource android:attr/lStar not found

A dependency (androidx.core 1.7+) uses an attribute from Android 12 (API 31), but your module compiles against an older compileSd…

Core Data: Failed to load model named / Unresolved erroriOS

Fatal error: Unresolved error Error Domain=NSCocoaErrorDomain Code=134060

The persistent store can't be opened or migrated.

INSTALL_FAILED_MISSING_SHARED_LIBRARYAndroid

Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]

The app requires a `uses-library` that this device or emulator image doesn't have.

SwiftData: Failed to create ModelContaineriOS

Fatal error: Could not create ModelContainer: SwiftDataError(_error: SwiftData.SwiftDataError._Error.loadIssueModelContainer)

SwiftData can't create or open the store.

Error building the app bundleAndroid

Execution failed for task ':app:bundleRelease'. Error while executing bundletool

Building the Android App Bundle (.aab) failed in the bundle step.

Jetifier: Failed to transform artifactAndroid

Failed to transform artifact 'xyz.aar' to match attributes ... Jetifier

The Jetifier tool could not rewrite an old support-library dependency to AndroidX.

Attribute application@label value=(@string/app_name) is also present at [lib] value=(Lib). Suggestion: add 'tools:rep...Android

Manifest merger failed : Attribute application@label value=(@string/app_name) from AndroidManifest.xml:12:9-41 is also present at [com.example:lib:1.0] AndroidManifest.xml:8:9-30 value=(Lib).

A library manifest sets the same attribute with a different value.

Room: AutoMigration requires a spec for renamed/deleted columnsAndroid

error: Schema 1 to 2 has a renamed/deleted column, an AutoMigration spec is required

Room can't infer a migration with renamed or deleted columns.

Unresolved reference: kotlinx.android.syntheticAndroid

error: Unresolved reference: synthetic

Kotlin synthetic view imports were removed.

uses-sdk:minSdkVersion cannot be smaller than version declared in libraryAndroid

uses-sdk:minSdkVersion 21 cannot be smaller than version 23 declared in library

A dependency needs a higher minSdk than the app declares.

IllegalStateException: A migration from 1 to 2 was required but not foundAndroid

java.lang.IllegalStateException: A migration from 1 to 2 was required but not found. Please provide the necessary Migration path

The Room schema version increased but no migration describes how to upgrade existing data.

Two steps away (36)

Could not resolveAndroid

Gradle: Could not resolve all files for configuration / Could not resolve dependency

Gradle couldn’t download a dependency — wrong coordinates/version, missing repository, offline mode, or network/proxy issues.

ClassNotFoundExceptionJava

java.lang.ClassNotFoundException / NoClassDefFoundError

The JVM couldn’t find a class on the classpath at runtime.

Manifest merger failedAndroid

Manifest merger failed: android:exported needs to be explicitly specified

Targeting Android 12 (API 31)+ requires `android:exported` on every activity, service or receiver that has an intent-filter.

Unsupported class file major versionAndroid

Gradle: Unsupported class file major version / Android Gradle plugin requires Java 17 to run

The JDK running Gradle doesn’t match what the Gradle version or Android Gradle Plugin (AGP) supports.

FailedSchedulingKubernetes

Kubernetes: Pod stuck in Pending — FailedScheduling: 0/3 nodes are available

The scheduler can’t find a node that satisfies the pod’s resource requests, selectors, taints or volume constraints.

EvictedKubernetes

Kubernetes: Pod Evicted — The node was low on resource: memory / ephemeral-storage

The kubelet removed the pod because its node ran short of memory or disk.

NSUnknownKeyExceptioniOS

NSUnknownKeyException: this class is not key value coding-compliant for the key x

A storyboard/XIB has a connection to an outlet or action that no longer exists in the class (renamed or deleted), or the view’s c…

Core Data: NSManagedObjectContext was accessed from the wrong queueiOS

CoreData: error: Serious application error. Exception was caught during Core Data change processing

A managed object or context was used on a different thread than it belongs to.

Core Data: constraint violation (NSConstraintConflict)iOS

Error Domain=NSCocoaErrorDomain Code=133021 "Could not merge changes." NSConstraintConflict

Two objects violate a uniqueness constraint.

INSTALL_FAILED_NO_MATCHING_ABISAndroid

INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries

The APK contains native (.so) libraries only for CPU architectures the device doesn’t support — e.g. x86 emulator with arm-only l…

INSTALL_FAILED_OLDER_SDKAndroid

INSTALL_FAILED_OLDER_SDK / INSTALL_FAILED_DEPRECATED_SDK_VERSION

The device’s Android version is lower than the app’s minSdk (OLDER_SDK), or the app’s targetSdk is too old for this Android versi…

ActivityNotFoundExceptionAndroid

ActivityNotFoundException: Unable to find explicit activity class; have you declared this activity in your AndroidManifest.xml?

An Intent targets an Activity that isn’t declared in the manifest, or an implicit intent has no app to handle it.

Modifying state during view updateiOS

SwiftUI: Modifying state during view update, this will cause undefined behavior

A @State/@Published value was changed while SwiftUI was computing a view’s body.

App Review Guideline 2.1: App CompletenessiOS

Guideline 2.1 - Performance - App Completeness: We discovered one or more bugs in your app

Review found crashes or broken features.

Terminated due to memory issue (jetsam)iOS

Termination Reason: ... per-process-limit / EXC_RESOURCE RESOURCE_TYPE_MEMORY

iOS killed the app for using too much memory.

Failed to find target with hash stringAndroid

Failed to find target with hash string 'android-34' / Failed to install the following Android SDK packages as some licences have not been accepted

Gradle needs an SDK platform/build-tools that isn’t installed, or the licences haven’t been accepted on this machine.

Minimum supported Gradle versionAndroid

Minimum supported Gradle version is 8.7. Current version is 8.2

The Android Gradle Plugin (AGP) version in your build needs a newer Gradle wrapper version.

Namespace not specifiedAndroid

Namespace not specified. Specify a namespace in the module's build file (AGP 8)

AGP 8 requires android { namespace = "…" } in each module’s build file; the package attribute in AndroidManifest.xml is no longer…

Android resource linking failedAndroid

AAPT: error: resource x (aka y) not found — Android resource linking failed

A layout, manifest or style references a resource (drawable, string, style, attribute) that doesn’t exist in the module or its de…

Android Gradle plugin requires a newer GradleAndroid

The Android Gradle plugin supports only Gradle version 8.x and higher. Current Gradle version is 7.x

The Android Gradle plugin (AGP) in your build needs a newer Gradle than the wrapper provides.

Android Gradle plugin requires Java 17Android

Android Gradle plugin requires Java 17 to run. You are currently using Java 11

This AGP version runs on JDK 17 (or newer) and Gradle is currently started with an older JDK.

INSTALL_FAILED_CONFLICTING_PROVIDERAndroid

Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]

Another app already uses the same ContentProvider authority.

MissingForegroundServiceTypeExceptionAndroid

android.app.MissingForegroundServiceTypeException: Starting FGS without a type

On Android 14 every foreground service must declare a type.

Package not visible: getPackageInfo throws NameNotFoundException on Android 11Android

android.content.pm.PackageManager$NameNotFoundException: com.whatsapp

Android 11 hides other apps from yours unless you declare them.

Room cannot verify the data integrityAndroid

Room cannot verify the data integrity. Looks like you've changed schema but forgot to update the version number

The Room entity definitions changed, but the database version wasn’t increased or no migration was provided.

Cannot access database on the main threadAndroid

Room: Cannot access database on the main thread since it may potentially lock the UI for a long period of time

A Room DAO query ran on the main thread; Room forbids it by default.

KSP: processor not found / unresolved reference to generated classAndroid

[ksp] Unresolved reference: AppDatabase_Impl

KSP did not run the annotation processor, so the generated class does not exist.

incompatible version of KotlinAndroid

Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.0.0, expected version is 1.8.0

A dependency was compiled with a newer Kotlin version than your project’s Kotlin Gradle plugin can read.

Inconsistent JVM-target compatibilityAndroid

Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (17) and 'compileDebugKotlin' (1.8)

Java and Kotlin compile tasks target different JVM bytecode versions in the same module.

Compose Compiler requires a different Kotlin versionAndroid

This version (1.5.3) of the Compose Compiler requires Kotlin version 1.9.10 but you appear to be using Kotlin version 1.9.0

The Compose compiler plugin is tied to one exact Kotlin release and yours differs.

Dependency requires compileSdkAndroid

Dependency 'androidx.x:1.y' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs

A library needs a higher compileSdk than your module uses (checkAarMetadata task).

AdMob: ERROR_CODE_INTERNAL_ERROR (0)Android

Ad failed to load : 0 / ERROR_CODE_INTERNAL_ERROR

AdMob hit an internal error, often because the app or ad unit isn't configured correctly.

Launcher activity not found / Default Activity not foundAndroid

Error running 'app': Default Activity not found

Android Studio can't find an Activity with the LAUNCHER intent filter.

Room: An entity must have at least 1 field annotated with @PrimaryKeyAndroid

error: An entity must have at least 1 field annotated with @PrimaryKey

A Room @Entity has no primary key.

Room: Cannot figure out how to save this field into databaseAndroid

error: Cannot figure out how to save this field into database. You can consider adding a type converter for it.

Room doesn't know how to store a custom type column.

Room: There is a problem with the query: no such columnAndroid

error: There is a problem with the query: [SQLITE_ERROR] SQL error or missing database (no such column: userName)

A @Query references a column that the entity doesn't have.