Error map

AppWidget not updating / Problem loading widget Can't load widget / RemoteViews: Android.view.InflateException in widget

Android · layer 1, On your device

Open the full error page →

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

AppWidget not updating / Problem loading widget — Can't load widget / RemoteViews: Android.view.InflateException in widget (Android)AppWidget n…BadTokenException — WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running? (Android)BadTokenExceptionCalledFromWrongThreadException — CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views (Android)CalledFromWrongThre…InflateException: Binary XML file line #12: Error inflating class — android.view.InflateException: Binary XML file line #12 in com.example:layout/activity_main: Binary XML file line #12: Error inflating class androidx.constraintlayout.widget.ConstraintLayout (Android)InflateException: B…Compose: click area wrong / Modifier order has no effect — (behavior) clickable ignored after clip / padding before background (Android)Compose: click area…WorkManager work never runs (constraints not met) — WM-WorkerWrapper: Work [ id=… ] was cancelled / state ENQUEUED (Android)WorkManager work ne…Android 15 edge-to-edge: content hidden behind system bars — (behavior) UI overlaps status bar and navigation bar on targetSdk 35 (Android)Android 15 edge-to-…Android 12 splash screen shows twice / wrong icon — (behavior) Two splash screens appear on Android 12+ (Android)Android 12 splash s…WidgetKit widget not refreshing — (behavior) widget shows stale data / placeholder forever (iOS)WidgetKit widget no…App Group UserDefaults returns nil in widget — UserDefaults(suiteName:) returns nil / Couldn't read values in CFPrefsPlistSource (iOS)App Group UserDefau…MapKit map blank / tiles not loading — MKMapView shows gray tiles (iOS)MapKit map blank / …android:attr/lStar not found — AAPT: error: resource android:attr/lStar not found (Android)android:attr/lStar …Android resource linking failed — AAPT: error: resource x (aka y) not found — Android resource linking failed (Android)Android resource li…ActivityNotFoundException — ActivityNotFoundException: Unable to find explicit activity class; have you declared this activity in your AndroidManifest.xml? (Android)ActivityNotFoundExc…NetworkOnMainThreadException — android.os.NetworkOnMainThreadException (Android)NetworkOnMainThread…ANR — ANR: Application Not Responding (Input dispatching timed out) (Android)ANRCannot 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…Resources$NotFoundException — android.content.res.Resources$NotFoundException: Resource ID #0x7f... (Android)Resources$NotFoundE…measured with an infinity maximum height — Jetpack Compose: Vertically scrollable component was measured with an infinity maximum height constraints, which is disallowed (Android)measured with an in…ClassCastException: cannot be cast to android.widget — java.lang.ClassCastException: android.widget.Button cannot be cast to android.widget.TextView (Android)ClassCastException:…A RenderFlex overflowed — Flutter: A RenderFlex overflowed by x pixels on the right/bottom (Flutter / Dart)A RenderFlex overfl…RenderBox was not laid out — Flutter: RenderBox was not laid out: RenderFlex#a1b2c relayoutBoundary=up2 NEEDS-PAINT — Failed assertion: 'hasSize' (Flutter / Dart)RenderBox was not l…Vertical viewport was given unbounded height — Flutter: Vertical viewport was given unbounded height. Viewports expand in the scrolling direction to fill their container (Flutter / Dart)Vertical viewport w…Hibernate ConstraintViolationException — org.hibernate.exception.ConstraintViolationException: could not execute statement (Java)Hibernate Constrain…Error building the app bundle — Execution failed for task ':app:bundleRelease'. Error while executing bundletool (Android)Error building the …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…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…Keyboard covers TextField in Compose (imePadding) — (behavior) soft keyboard hides the input field on edge-to-edge screens (Android)Keyboard covers Tex…Compose lint: PaddingValues parameter is not used — Content padding parameter it is not used (Android)Compose lint: Paddi…You need to use a Theme.AppCompat theme — java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity (Android)You need to use a T…The style on this component requires your app theme to be Theme.MaterialComponents — java.lang.IllegalArgumentException: The style on this component requires your app theme to be Theme.MaterialComponents (or a descendant) (Android)The style on this c…SecurityException: Caller needs SCHEDULE_EXACT_ALARM — java.lang.SecurityException: Caller com.example needs to hold android.permission.SCHEDULE_EXACT_ALARM or android.permission.USE_EXACT_ALARM to set exact alarms (Android)SecurityException: …ATS — App Transport Security has blocked a cleartext HTTP resource load (iOS)ATSintegrity could not be verified — Unable to Install "App": This app cannot be installed because its integrity could not be verified (iOS)integrity could not…Cannot preview in this file — SwiftUI Preview: Cannot preview in this file — the preview crashed / failed to build (iOS)Cannot preview in t…Provisioning profile doesn't match entitlements — error: Provisioning profile "X" doesn't include the com.apple.developer.associated-domains entitlement. (iOS)Provisioning profil…ITMS-90034: Missing or invalid signature — ITMS-90034: Missing or invalid signature. The bundle 'com.example.app' at bundle path 'Payload/App.app' is not signed using an Apple submission certificate. (iOS)ITMS-90034: Missing…Notification Service Extension not modifying push content — (behavior) rich push image/mutable-content not working (iOS)Notification Servic…CLLocationManager: location services not authorized — CLLocationManager error: kCLErrorDenied / Location services are disabled (iOS)CLLocationManager: …

Directly related (10)

BadTokenExceptionAndroid

WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running?

A dialog or popup was shown with a context whose Activity is finishing/destroyed, or with the Application context.

CalledFromWrongThreadExceptionAndroid

CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views

Background code updated a View directly; UI changes must happen on the main thread.

InflateException: Binary XML file line #12: Error inflating classAndroid

android.view.InflateException: Binary XML file line #12 in com.example:layout/activity_main: Binary XML file line #12: Error inflating class androidx.constraintlayout.widget.ConstraintLayout

A layout file couldn't be inflated, usually because a class or attribute inside is wrong.

Compose: click area wrong / Modifier order has no effectAndroid

(behavior) clickable ignored after clip / padding before background

Compose modifiers apply in order, so swapping them changes the result.

WorkManager work never runs (constraints not met)Android

WM-WorkerWrapper: Work [ id=… ] was cancelled / state ENQUEUED

A scheduled task stays enqueued and doesn't execute.

Android 15 edge-to-edge: content hidden behind system barsAndroid

(behavior) UI overlaps status bar and navigation bar on targetSdk 35

Apps targeting Android 15 draw edge to edge by default.

Android 12 splash screen shows twice / wrong iconAndroid

(behavior) Two splash screens appear on Android 12+

Android 12 forces a system splash screen, so custom splash activities cause a double splash.

WidgetKit widget not refreshingiOS

(behavior) widget shows stale data / placeholder forever

The widget timeline doesn't update as expected.

App Group UserDefaults returns nil in widgetiOS

UserDefaults(suiteName:) returns nil / Couldn't read values in CFPrefsPlistSource

The widget or extension can't read shared data.

MapKit map blank / tiles not loadingiOS

MKMapView shows gray tiles

The map doesn't draw.

Two steps away (28)

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…

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…

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.

NetworkOnMainThreadExceptionAndroid

android.os.NetworkOnMainThreadException

The app made a network call on the main (UI) thread, which Android forbids.

ANRAndroid

ANR: Application Not Responding (Input dispatching timed out)

The main thread was blocked for about 5 seconds (input) or a broadcast/service took too long, so Android showed “App isn’t respon…

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.

Resources$NotFoundExceptionAndroid

android.content.res.Resources$NotFoundException: Resource ID #0x7f...

Code asked for a resource ID that doesn’t exist for the current configuration — often passing an int to setText(), or a resource…

measured with an infinity maximum heightAndroid

Jetpack Compose: Vertically scrollable component was measured with an infinity maximum height constraints, which is disallowed

A LazyColumn (or verticalScroll) is placed inside another vertically scrolling container, so it gets infinite height.

ClassCastException: cannot be cast to android.widgetAndroid

java.lang.ClassCastException: android.widget.Button cannot be cast to android.widget.TextView

A view id in the layout is a different widget type than the one the code expects.

A RenderFlex overflowedFlutter / Dart

Flutter: A RenderFlex overflowed by x pixels on the right/bottom

A Row or Column’s children need more space than available, so Flutter draws the yellow-black overflow stripes.

RenderBox was not laid outFlutter / Dart

Flutter: RenderBox was not laid out: RenderFlex#a1b2c relayoutBoundary=up2 NEEDS-PAINT — Failed assertion: 'hasSize'

A widget was asked for its size or painted before layout finished, usually because a parent gave it unbounded or conflicting cons…

Vertical viewport was given unbounded heightFlutter / Dart

Flutter: Vertical viewport was given unbounded height. Viewports expand in the scrolling direction to fill their container

A scrollable (ListView, GridView) sits inside a parent that does not limit its height, so it tries to be infinitely tall.

Hibernate ConstraintViolationExceptionJava

org.hibernate.exception.ConstraintViolationException: could not execute statement

The database rejected an insert/update because of a constraint (unique, foreign key, not null).

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.

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.

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

Keyboard covers TextField in Compose (imePadding)Android

(behavior) soft keyboard hides the input field on edge-to-edge screens

The IME overlaps content because insets aren't applied.

Compose lint: PaddingValues parameter is not usedAndroid

Content padding parameter it is not used

A Scaffold's `paddingValues` isn't applied, so content hides under bars.

You need to use a Theme.AppCompat themeAndroid

java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity

An AppCompatActivity runs with a theme that isn't AppCompat based.

The style on this component requires your app theme to be Theme.MaterialComponentsAndroid

java.lang.IllegalArgumentException: The style on this component requires your app theme to be Theme.MaterialComponents (or a descendant)

A Material component is used under a non-Material theme.

SecurityException: Caller needs SCHEDULE_EXACT_ALARMAndroid

java.lang.SecurityException: Caller com.example needs to hold android.permission.SCHEDULE_EXACT_ALARM or android.permission.USE_EXACT_ALARM to set exact alarms

Android 12+ restricts exact alarms and the app lacks permission.

ATSiOS

App Transport Security has blocked a cleartext HTTP resource load

iOS blocked an `http://` request (or a weak-TLS HTTPS one) because App Transport Security requires secure connections.

integrity could not be verifiediOS

Unable to Install "App": This app cannot be installed because its integrity could not be verified

iOS rejected the app because its signature doesn’t validate for this device — expired/revoked certificate, ad-hoc profile without…

Cannot preview in this fileiOS

SwiftUI Preview: Cannot preview in this file — the preview crashed / failed to build

Xcode Previews couldn’t build or run the view — compile errors elsewhere, a crash in preview data, or preview-specific environmen…

Provisioning profile doesn't match entitlementsiOS

error: Provisioning profile "X" doesn't include the com.apple.developer.associated-domains entitlement.

The app requests a capability that the profile doesn't allow.

ITMS-90034: Missing or invalid signatureiOS

ITMS-90034: Missing or invalid signature. The bundle 'com.example.app' at bundle path 'Payload/App.app' is not signed using an Apple submission certificate.

The upload was signed with a development certificate.

Notification Service Extension not modifying push contentiOS

(behavior) rich push image/mutable-content not working

The Notification Service Extension isn't being invoked.

CLLocationManager: location services not authorizediOS

CLLocationManager error: kCLErrorDenied / Location services are disabled

Location access isn't granted or the usage description is missing.