Error map

Launcher activity not found / Default Activity not found Error running 'app': Default Activity not found

Android · layer 1, On your device

Open the full error page →

Centre: this error. First ring: errors it is linked with (11). 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.

Launcher activity not found / Default Activity not found — Error running 'app': Default Activity not found (Android)Launcher ac…Manifest merger failed — Manifest merger failed: android:exported needs to be explicitly specified (Android)Manifest merger fai…ActivityNotFoundException — ActivityNotFoundException: Unable to find explicit activity class; have you declared this activity in your AndroidManifest.xml? (Android)ActivityNotFoundExc…AdMob: ERROR_CODE_INTERNAL_ERROR (0) — Ad failed to load : 0 / ERROR_CODE_INTERNAL_ERROR (Android)AdMob: ERROR_CODE_I…INSTALL_FAILED_MISSING_SHARED_LIBRARY — Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY] (Android)INSTALL_FAILED_MISS…INSTALL_FAILED_CONFLICTING_PROVIDER — Failure [INSTALL_FAILED_CONFLICTING_PROVIDER] (Android)INSTALL_FAILED_CONF…MissingForegroundServiceTypeException — android.app.MissingForegroundServiceTypeException: Starting FGS without a type (Android)MissingForegroundSe…LeakCanary: Activity has leaked — LeakCanary: com.example.MainActivity has leaked: GC ROOT static MyHolder.context (Android)LeakCanary: Activit…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…Package not visible: getPackageInfo throws NameNotFoundException on Android 11 — android.content.pm.PackageManager$NameNotFoundException: com.whatsapp (Android)Package not visible…LifecycleOwner is attempting to register while current state is RESUMED — java.lang.IllegalStateException: LifecycleOwner MainActivity is attempting to register while current state is RESUMED. LifecycleOwners must call register before they are STARTED. (Android)LifecycleOwner is a…Deep link opens the browser instead of the app — (behavior) tapping a URL does not open the app (Android)Deep link opens the…Could not resolve — Gradle: Could not resolve all files for configuration / Could not resolve dependency (Android)Could not resolveDuplicate class — Duplicate class X found in modules A and B (Android)Duplicate classGradle wrapper main class — Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain (Java)Gradle wrapper main…adb unauthorized — adb: device unauthorized. This adb server's $ADB_VENDOR_KEYS is not set (Android)adb unauthorizedno devices/emulators found — adb: no devices/emulators found / error: device not found (Android)no devices/emulator…adb server version doesn't match — adb server version (41) doesn't match this client (39); killing... (Android)adb server version …Default FirebaseApp is not initialized — IllegalStateException: Default FirebaseApp is not initialized in this process (Android)Default FirebaseApp…AdMob: Ad failed to load: ERROR_CODE_NO_FILL (3) — Ad failed to load : 3 / ERROR_CODE_NO_FILL (Android)AdMob: Ad failed to…App Tracking Transparency prompt not appearing — (behavior) ATTrackingManager.requestTrackingAuthorization never shows the dialog (iOS)App Tracking Transp…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…The emulator process for AVD was killed — Android Emulator: The emulator process for AVD x has terminated / was killed (hypervisor not available) (Android)The emulator proces…INSTALL_FAILED_UPDATE_INCOMPATIBLE — Android: INSTALL_FAILED_UPDATE_INCOMPATIBLE (Android)INSTALL_FAILED_UPDA…INSTALL_PARSE_FAILED_NO_CERTIFICATES — INSTALL_PARSE_FAILED_NO_CERTIFICATES / App not installed as package appears to be invalid (Android)INSTALL_PARSE_FAILE…Error: Could not find the correct Provider — Flutter: Error: Could not find the correct Provider<CartModel> above this Consumer<CartModel> Widget (Flutter / Dart)Error: Could not fi…startForeground not called — Context.startForegroundService() did not then call Service.startForeground() / ForegroundServiceStartNotAllowedException (Android)startForeground not…IllegalStateException: Not allowed to start service Intent (app is in background) — java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.example/.SyncService }: app is in background uid UidRecord{...} (Android)IllegalStateExcepti…SecurityException: Neither ACCESS_COARSE_LOCATION nor ACCESS_FINE_LOCATION permission is granted — java.lang.SecurityException: Client must have ACCESS_FINE_LOCATION permission to request PRIORITY_HIGH_ACCURACY locations (Android)SecurityException: …OutOfMemoryError — java.lang.OutOfMemoryError: Java heap space (Java)OutOfMemoryErrorMEMORY_MANAGEMENT — Blue Screen: MEMORY_MANAGEMENT (Stop code 0x0000001A) (Windows)MEMORY_MANAGEMENTSIGSEGV — Segmentation fault (core dumped) (Linux)SIGSEGVDependency 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…Class android.support.v4 not found after AndroidX — java.lang.NoClassDefFoundError: android/support/v4/app/Fragment (Android)Class android.suppo…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…NonUniqueResultException — IncorrectResultSizeDataAccessException: query did not return a unique result: 2 (Java)NonUniqueResultExce…must target at least API level — Play Console: Your app currently targets API level 33 and must target at least API level 34 (Android)must target at leas…Play Console: Your app needs a permissions declaration (SMS / background location) — Your app uses permissions that require a declaration form (Android)Play Console: Your …Can not perform this action after onSaveInstanceState — IllegalStateException: Can not perform this action after onSaveInstanceState (fragment transaction) (Android)Can not perform thi…Fragment not attached to a context — IllegalStateException: Fragment x not attached to a context / not attached to an activity (Android)Fragment not attach…JobCancellationException: StandaloneCoroutine was cancelled — kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled; job=StandaloneCoroutine{Cancelling}@a1b2c3 (Android)JobCancellationExce…Android App Links: autoVerify failed (assetlinks.json) — App link verification failed: Digital Asset Links: http error 404 (Android)Android App Links: …Firebase Dynamic Links shutdown (August 2025) — Dynamic Links: This service is being shut down (Android)Firebase Dynamic Li…

Directly related (11)

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.

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.

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.

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.

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.

LeakCanary: Activity has leakedAndroid

LeakCanary: com.example.MainActivity has leaked: GC ROOT static MyHolder.context

LeakCanary found an Activity kept in memory after it was destroyed.

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.

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.

LifecycleOwner is attempting to register while current state is RESUMEDAndroid

java.lang.IllegalStateException: LifecycleOwner MainActivity is attempting to register while current state is RESUMED. LifecycleOwners must call register before they are STARTED.

An Activity Result launcher was registered after the Activity started.

Deep link opens the browser instead of the appAndroid

(behavior) tapping a URL does not open the app

The intent filter or link verification doesn't match the URL.

Two steps away (32)

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.

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…

Gradle wrapper main classJava

Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain

The Gradle wrapper JAR (gradle/wrapper/gradle-wrapper.jar) is missing or corrupt.

adb unauthorizedAndroid

adb: device unauthorized. This adb server's $ADB_VENDOR_KEYS is not set

The phone hasn’t accepted your computer’s RSA key for USB debugging yet.

no devices/emulators foundAndroid

adb: no devices/emulators found / error: device not found

adb can’t see any connected device or running emulator.

adb server version doesn't matchAndroid

adb server version (41) doesn't match this client (39); killing...

Two different adb binaries are running — e.g. Android Studio’s SDK adb and another one on PATH (Homebrew, Genymotion, older SDK).

Default FirebaseApp is not initializedAndroid

IllegalStateException: Default FirebaseApp is not initialized in this process

Firebase couldn’t initialise because google-services.json or the Google Services Gradle plugin is missing/misapplied, or initiali…

AdMob: Ad failed to load: ERROR_CODE_NO_FILL (3)Android

Ad failed to load : 3 / ERROR_CODE_NO_FILL

AdMob had no ad to serve this request.

App Tracking Transparency prompt not appearingiOS

(behavior) ATTrackingManager.requestTrackingAuthorization never shows the dialog

The ATT prompt isn't shown to users.

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…

The emulator process for AVD was killedAndroid

Android Emulator: The emulator process for AVD x has terminated / was killed (hypervisor not available)

The Android Emulator crashed or couldn’t start — usually missing hardware acceleration, low disk/RAM, or GPU driver problems.

INSTALL_FAILED_UPDATE_INCOMPATIBLEAndroid

Android: INSTALL_FAILED_UPDATE_INCOMPATIBLE

An app with the same package name but a different signing key is already installed on the device.

INSTALL_PARSE_FAILED_NO_CERTIFICATESAndroid

INSTALL_PARSE_FAILED_NO_CERTIFICATES / App not installed as package appears to be invalid

The APK isn’t signed (or the signature is invalid for this Android version), so it can’t be installed.

Error: Could not find the correct ProviderFlutter / Dart

Flutter: Error: Could not find the correct Provider<CartModel> above this Consumer<CartModel> Widget

A widget asked Provider for an object that is not above it in the widget tree.

startForeground not calledAndroid

Context.startForegroundService() did not then call Service.startForeground() / ForegroundServiceStartNotAllowedException

A foreground service didn’t call startForeground() within a few seconds, or the app tried to start one from the background where…

IllegalStateException: Not allowed to start service Intent (app is in background)Android

java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.example/.SyncService }: app is in background uid UidRecord{...}

Since Android 8 background apps can't freely start services.

SecurityException: Neither ACCESS_COARSE_LOCATION nor ACCESS_FINE_LOCATION permission is grantedAndroid

java.lang.SecurityException: Client must have ACCESS_FINE_LOCATION permission to request PRIORITY_HIGH_ACCURACY locations

Location was requested without the right runtime permission.

OutOfMemoryErrorJava

java.lang.OutOfMemoryError: Java heap space

The JVM ran out of heap memory and garbage collection couldn’t free enough.

MEMORY_MANAGEMENTWindows

Blue Screen: MEMORY_MANAGEMENT (Stop code 0x0000001A)

Windows detected a severe memory-management error — commonly faulty RAM, unstable memory settings or a bad driver.

SIGSEGVLinux

Segmentation fault (core dumped)

A program accessed memory it wasn’t allowed to, and the kernel killed it with SIGSEGV (exit code 139).

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).

Class android.support.v4 not found after AndroidXAndroid

java.lang.NoClassDefFoundError: android/support/v4/app/Fragment

A library still uses old android.support classes that no longer exist in an AndroidX app.

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.

NonUniqueResultExceptionJava

IncorrectResultSizeDataAccessException: query did not return a unique result: 2

A query expected one row but found several.

must target at least API levelAndroid

Play Console: Your app currently targets API level 33 and must target at least API level 34

Google Play requires new apps and updates to target a recent Android API level (raised every year).

Play Console: Your app needs a permissions declaration (SMS / background location)Android

Your app uses permissions that require a declaration form

Play blocks the release until you justify sensitive permissions.

Can not perform this action after onSaveInstanceStateAndroid

IllegalStateException: Can not perform this action after onSaveInstanceState (fragment transaction)

A FragmentTransaction (or DialogFragment.show/navigation) ran after the Activity saved its state, typically from an async callbac…

Fragment not attached to a contextAndroid

IllegalStateException: Fragment x not attached to a context / not attached to an activity

Code called requireContext()/requireActivity()/getString() after the Fragment was detached — usually in an async callback.

JobCancellationException: StandaloneCoroutine was cancelledAndroid

kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled; job=StandaloneCoroutine{Cancelling}@a1b2c3

A coroutine was cancelled, usually because its scope ended.

Android App Links: autoVerify failed (assetlinks.json)Android

App link verification failed: Digital Asset Links: http error 404

Android couldn't verify your domain for App Links.

Firebase Dynamic Links shutdown (August 2025)Android

Dynamic Links: This service is being shut down

Dynamic Links stopped working after the shutdown date.