Error map
The current Dart SDK version is x; package requires SDK >= y Dart pub: The current Dart SDK version is 2.19.0. Because app requires SDK version >=3.0.0 <4.0.0, version solving failed
Flutter / Dart · layer 1, On your device
Centre: this error. First ring: errors it is linked with (7). 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 (7)
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 (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.
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`.
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.
flutter doctor: Android SDK is missing command-line tools; download from https://goo.gl/XxQghQ — cmdline-tools component is missing
The Android SDK Command-line Tools package is not installed, so Flutter cannot run `sdkmanager` or accept licenses.
Dart pub: Because app depends on intl ^0.19.0 and flutter_localizations from sdk depends on intl 0.18.1, version solving failed
`flutter pub get` cannot find a set of package versions that satisfy every dependency's constraints.
Dart: Error: Couldn't resolve the package 'x' in 'package:x/x.dart'
Code imports a package that is not in `pubspec.yaml` or `pub get` has not been run since adding it.
Two steps away (21)
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: 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.
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…
android.os.NetworkOnMainThreadException
The app made a network call on the main (UI) thread, which Android forbids.
Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline."
URLSession couldn’t reach the network — the device is offline, the app’s cellular data is disabled, or the simulator lost network…
Error Domain=NSURLErrorDomain Code=-1001 "The request timed out."
The server didn’t respond within URLSession’s timeout (60 s default) — slow server, unreachable host on this network, or a stalle…
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.
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.
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…
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).
SDK location not found. Define a valid SDK location with an ANDROID_HOME environment variable or by setting the sdk.dir path in local.properties
Gradle doesn’t know where the Android SDK is installed.
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…
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun
The Xcode Command Line Tools are missing or broken — typical right after a macOS update.
Flutter: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null)
Google Sign-In failed on Android because the app's SHA-1 fingerprint or package name is not registered for the OAuth client.
Android Gradle: uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library [:firebase_auth]
A plugin requires a higher Android minimum SDK than your app declares.
CocoaPods could not find compatible versions for pod
pod install can’t satisfy the version constraints — outdated spec repo, a higher deployment target required, or two pods needing…
Swift: No such module 'X' (module not found)
Xcode can’t find a Swift package, pod or framework you import.
[!] Unable to find a specification for `X` depended upon by `Y`
CocoaPods can’t find the pod (or version) in its spec repos — stale local specs, a private spec repo not added, or a typo.
Dart/Flutter: Null check operator used on a null value
The ! operator was applied to a variable that was null at runtime.
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: RangeError (index): Invalid value: Valid value range is empty: 0
A list or string was indexed outside its bounds, often an empty list or an off-by-one in `itemBuilder`.
Map another error
Popular: 500403400ORA-009331064Critical errorFileNotFoundException assemblyTypeError