Error map
A RenderFlex overflowed Flutter: A RenderFlex overflowed by x pixels on the right/bottom
Flutter / Dart · layer 1, On your device
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.
Directly related (12)
Flutter: setState() called after dispose(): _MyState#1a2b3 (lifecycle state: defunct, not mounted)
An async callback (network, timer, stream) finished after the widget was removed and then called setState.
Flutter: BoxConstraints forces an infinite width. These invalid constraints were provided to RenderStack's layout() function (TextField in a Row)
A widget that needs a finite width, like a `TextField` or `Container` with no size, was placed where the parent offers unlimited…
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.
Dart/Flutter: Null check operator used on a null value
The ! operator was applied to a variable that was null at runtime.
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…
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.
Flutter: Incorrect use of ParentDataWidget. The ParentDataWidget Expanded(flex: 1) wants to apply ParentData of type FlexParentData to a RenderObject
A widget like `Expanded`, `Flexible`, `Positioned` or `TableCell` was placed under a parent that does not support it.
Flutter: No Material widget found. TextField widgets require a Material widget ancestor
A Material-design widget (TextField, ListTile, InkWell, Chip) was placed outside a `Scaffold`, `Material` or `Card`, so it has no…
(behavior) GeometryReader collapses or fills the whole screen
GeometryReader takes all offered space and has no intrinsic size.
ActivityAuthorizationError: unsupportedTarget / attributes too large
A Live Activity can't start.
(behavior) clickable ignored after clip / padding before background
Compose modifiers apply in order, so swapping them changes the result.
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.
Two steps away (34)
HTTP 409 Conflict
The request conflicts with the current state of the resource — e.g. a duplicate or an edit based on an outdated version.
Error: Too many re-renders. React limits the number of renders to prevent an infinite loop.
A state update runs during render, which triggers another render, which updates state again — forever.
Warning: A component is changing an uncontrolled input to be controlled
An input’s `value` started as `undefined` (uncontrolled) and later became a defined value (controlled), or vice versa.
Flutter: Scaffold.of() called with a context that does not contain a Scaffold
You called `Scaffold.of(context)` (or `ScaffoldMessenger`) using the same `BuildContext` that created the Scaffold, which is abov…
Flutter: Looking up a deactivated widget's ancestor is unsafe. At this point the state of the widget's element tree is no longer stable
You used a `BuildContext` after its widget was removed from the tree — typically after an `await` when the user already navigated…
Flutter: setState() or markNeedsBuild() called during build. This widget cannot be marked as needing to build because the framework is already in the process of building widgets
State was changed while Flutter was building widgets, for example calling `setState` or a notifier from inside `build`.
Flutter (Android): java.io.IOException: Cleartext HTTP traffic to api.example.com not permitted
Android 9+ blocks plain `http://` requests by default; the app must use HTTPS or explicitly allow cleartext for that host.
flutter doctor: Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses
The Android SDK licenses have not been accepted, so builds cannot download or use SDK components.
Android Gradle: Execution failed for task ':app:checkDebugAarMetadata'. Dependency requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs
A dependency was built against a newer Android API than your project's `compileSdk`.
TS2322: Type 'X' is not assignable to type 'Y'
You assigned a value whose type doesn’t match the declared type of the variable, property or return value.
Dart: Bad state: No element — .first, .last or .single on an empty list
You called `.first`, `.last`, `.single` or `.reduce` on an empty collection.
Dart: type 'Null' is not a subtype of type 'String' in type cast
A value that was `null` at runtime was cast or used as a non-nullable type, most often when parsing JSON.
Flutter: There are multiple heroes that share the same tag within a subtree
Two `Hero` widgets with the same tag exist on one screen during a route transition.
error: cannot find symbol class ActivityMainBinding
The generated view-binding or data-binding class does not exist.
This view is not constrained. It only has designtime positions, so it will jump to (0,0) unless you add constraints
A view in ConstraintLayout has no horizontal or vertical constraint.
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.
adb: no devices/emulators found / error: device not found
adb can’t see any connected device or running emulator.
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…
E/RecyclerView: No adapter attached; skipping layout
The RecyclerView was laid out before an adapter was set.
Flutter: MediaQuery.of() called with a context that does not contain a MediaQuery
Code asked for screen size or theme data using a context that has no MediaQuery ancestor, usually above or outside `MaterialApp`.
Flutter: Navigator operation requested with a context that does not include a Navigator
`Navigator.push/pop` was called with a context above the `MaterialApp`, so no Navigator exists in the lookup path.
Flutter test: Expected: exactly one matching candidate Actual: _TextFinder:<Found 0 widgets with text "Hello">
A widget test looked for a widget that is not currently in the tree.
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.
SwiftUI: Publishing changes from background threads is not allowed; make sure to publish values from the main thread
An ObservableObject’s @Published property was updated from a background thread.
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…
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.
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…
Failed to register for remote notifications: no valid “aps-environment” entitlement string found for application
The app is missing the Push Notifications capability in its signing.
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.
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.
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.
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
Code called a method on a view or object that was null, most often a findViewById that returned null.
java.lang.IndexOutOfBoundsException: Index: 5, Size: 3
The code read a list or array position that doesn't exist.
java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 4(offset:4).state:10
The adapter's data changed without the right notify call while RecyclerView was laying out.