Error map
TextInputLayout requires Material theme / InflateException android.view.InflateException: Binary XML file: Error inflating class com.google.android.material.textfield.TextInputLayout
Android · 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)
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.IllegalArgumentException: No suitable parent found from the given view. Please provide a valid view.
Snackbar.make() was given a view that isn't attached or has no CoordinatorLayout/content parent.
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.
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.
(behavior) Two splash screens appear on Android 12+
Android 12 forces a system splash screen, so custom splash activities cause a double splash.
java.lang.IllegalStateException: ViewHolder views must not be attached when created. Ensure that you are not passing 'true' to the attachToRoot parameter of LayoutInflater.inflate(..., boolean atta...
onCreateViewHolder inflated with attachToRoot = true.
Resources$NotFoundException: Resource ID #0x7f0600c1 type #0x1d is not valid
A resource used in dark mode isn't defined for the night configuration.
Two steps away (21)
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.
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…
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.
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.
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.
android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.example.Model
A Parcelable in a Bundle or Intent couldn't be restored because its class was not found.
(behavior) crash on first launch after device transfer / Auto Backup
Restored app data is incompatible with the new device.
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.
java.util.ConcurrentModificationException at java.util.ArrayList$Itr.next
A collection was changed while it was being iterated.
Termination Reason: ... per-process-limit / EXC_RESOURCE RESOURCE_TYPE_MEMORY
iOS killed the app for using too much memory.
Terminating app due to uncaught exception 'com.apple.coreaudio.avfaudio', reason: 'required condition is false: format.sampleRate == hwFormat.sampleRate'
An audio tap or node format doesn't match the hardware format.
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.
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.
(behavior) clickable ignored after clip / padding before background
Compose modifiers apply in order, so swapping them changes the result.
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.
E/RecyclerView: No adapter attached; skipping layout
The RecyclerView was laid out before an adapter was set.
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…
Execution failed for task ':app:mergeDebugResources'. > Duplicate resources
Two resource files define the same name and type in the same configuration (e.g. ic_logo.png and ic_logo.xml).