Error map
Method not mocked in local unit test java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked.
Android · layer 1, On your device
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.
Directly related (10)
Flutter test: A Timer is still pending even after the widget tree was disposed
A widget test finished while a `Timer` or delayed `Future` was still scheduled.
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.
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.
androidx.test.espresso.AmbiguousViewMatcherException: 'with id: com.example:id/title' matches multiple views in the hierarchy
More than one view matches the Espresso matcher.
android.util.AndroidException: INSTRUMENTATION_FAILED: com.example.test/androidx.test.runner.AndroidJUnitRunner
The test APK can't start the instrumentation on the device.
XCTestCase failed: "Failed to get matching snapshot: Unable to find hit point for element"
An XCUITest couldn't interact with the element.
The test runner hung before establishing connection / Early unexpected exit, operation never finished bootstrapping
The test host app crashed before tests started.
IllegalStateException: Module with the Main dispatcher had failed to initialize. For tests Dispatchers.setMain from kotlinx-coroutines-test module can be used
`Dispatchers.Main` was used in a unit test without a test dispatcher.
You need to run a closed test with at least 12 testers for 14 days
New personal developer accounts must run a closed test before applying for production.
androidx.test.espresso.NoMatchingViewException: No views in hierarchy found matching: with id: com.example:id/submit
An Espresso test looked for a view that isn't on screen yet.
Two steps away (26)
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 (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.
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…
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.os.NetworkOnMainThreadException
The app made a network call on the main (UI) thread, which Android forbids.
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…
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 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.
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.
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.
Failure [INSTALL_FAILED_VERSION_DOWNGRADE]
You are installing an APK with a lower versionCode than the one on the device.
Failure [INSTALL_FAILED_DUPLICATE_PERMISSION perm=com.example.permission.C2D_MESSAGE pkg=com.example.old]
Another installed app already declares the same custom permission.
Unable to boot device because it cannot be located on disk / Domain=NSPOSIXErrorDomain Code=60 Operation timed out
The iOS Simulator device can't start.
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.
Guideline 2.1 - Performance - App Completeness: We discovered one or more bugs in your app
Review found crashes or broken features.
Thread 1: Fatal error: Arithmetic operation '255 + 1' (on type 'UInt8') results in an overflow
Swift traps on integer overflow instead of wrapping.
Execution failed for task ':app:bundleRelease'. Error while executing bundletool
Building the Android App Bundle (.aab) failed in the bundle step.
kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled; job=StandaloneCoroutine{Cancelling}@a1b2c3
A coroutine was cancelled, usually because its scope ended.
'AsyncTask<Params!, Progress!, Result!>' is deprecated. Deprecated in Java
AsyncTask is removed from the recommended APIs.
Play Console: Version code 1 has already been used. Try another version code
Every upload to a Play app needs a higher versionCode than any previous upload (in any track).
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).
BillingResponseCode.DEVELOPER_ERROR: Invalid arguments provided to the API
The billing call used invalid arguments or an app Play doesn't recognise.
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.
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.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.