ErrLookup › material-components/material-components-android

material-components/material-components-android

[MAINTENANCE MODE] Modular and customizable Material Design UI components for Android · Java · 762 source files

Analyzed at ac7e18efee on 2026-08-14. 175 documented errors.

Code / MessageTypeSeverityTags
Email %d does not exist.
exception error catalog-demo, sample-data, illegal-argument, lookup
Color names need to be at least four and correspond to attri
exception error catalog-demo, color-roles, illegal-argument, validation
Demo must implement createFragment or createActivityIntent
exception error catalog-demo, lifecycle, illegal-state, configuration
Demo must implement createFragment or createActivityIntent
exception error catalog-demo, navigation, illegal-state, configuration
Album %d does not exist.
exception error catalog-demo, sample-data, illegal-argument, lookup
Animator must be an ObjectAnimator:
exception error animation, motionspec, illegal-argument, objectanimator
AppBarLayout is always vertical and does not support horizon
exception error appbar, layout, illegal-argument, xml-configuration
customBadgeParent must be a FrameLayout
exception error badge, deprecated-api, illegal-argument, framelayout
Invalid view edge position value:
exception error behavior, hide-on-scroll, illegal-argument, xml-configuration
The view is not a child of CoordinatorLayout
exception error behavior, coordinatorlayout, illegal-argument, view-hierarchy
The view is not associated with HideViewOnScrollBehavior
exception error behavior, coordinatorlayout, illegal-argument, configuration
cradleVerticalOffset must be positive.
exception error bottomappbar, shape-treatment, illegal-argument, validation
ratio must be a float value between 0 and 1
exception error bottomsheet, illegal-argument, validation, range-check
offset must be greater than or equal to 0
exception error bottomsheet, illegal-argument, validation, insets
STATE_DRAGGING should not be set externally.
exception error bottomsheet, illegal-argument, state-machine, callback
Invalid state to get top offset:
exception error bottomsheet, illegal-argument, state-machine, serialization
The view is not a child of CoordinatorLayout
exception error bottomsheet, coordinatorlayout, illegal-argument, view-hierarchy
The view is not associated with BottomSheetBehavior
exception error bottomsheet, coordinatorlayout, illegal-argument, configuration
iconSize cannot be less than 0
exception error material-button, icon, illegal-argument, validation
iconGravity cannot have the same alignment as secondaryIconG
exception error material-button, icon, illegal-argument, xml-configuration
secondaryIconGravity cannot have the same alignment as iconG
exception error android, material-components, materialbutton, icon, xml-config
Attempted to set ShapeAppearanceModel on a MaterialButton wh
exception error android, material-components, materialbutton, shape, background
Attempted to get ShapeAppearanceModel from a MaterialButton
exception error android, material-components, materialbutton, shape, background
Attempted to set ShapeAppearance on a MaterialButton which h
exception error android, material-components, materialbutton, shape, restricted-api, background
Attempted to get ShapeAppearance from a MaterialButton which
exception error android, material-components, materialbutton, shape, restricted-api, background
The wrap overflow mode is not compatible to the vertical ori
exception error android, material-components, materialbuttongroup, layout, xml-config
The wrap overflow mode is not compatible with wrap_content l
exception error android, material-components, materialbuttongroup, layout, measure, xml-config
MaterialSplitButton can only hold MaterialButtons.
exception error android, material-components, materialsplitbutton, view-hierarchy, xml-config
MaterialSplitButton can only hold two MaterialButtons.
exception error android, material-components, materialsplitbutton, view-hierarchy
All children of a RecyclerView using CarouselLayoutManager m
exception error android, material-components, carousel, recyclerview, layout
invalid orientation:
exception error android, material-components, carousel, recyclerview, argument-validation
invalid orientation
exception error android, material-components, carousel, argument-validation, internal-api
Keylines being linearly interpolated must have the same item
exception error android, material-components, carousel, keylines, animation, custom-strategy
Keylines being linearly interpolated must have the same numb
exception error android, material-components, carousel, keylines, animation, custom-strategy
Anchor keylines cannot be focal.
exception error android, material-components, carousel, keylines, custom-strategy, builder
Anchor keylines must be either the first or last keyline.
exception error android, material-components, carousel, keylines, custom-strategy, builder
Keylines marked as focal must be placed next to each other.
exception error android, material-components, carousel, keylines, custom-strategy, builder
Keylines that are marked as focal must all have the same mas
exception error android, material-components, carousel, keylines, custom-strategy, builder
Keylines before the first focal keyline must be ordered by i
exception error android, material-components, carousel, keylines, custom-strategy, builder
Keylines after the last focal keyline must be ordered by dec
exception error android, material-components, carousel, keylines, custom-strategy, builder
There must be a keyline marked as focal.
exception error android, material-components, carousel, keyline-state, builder, validation
Changing divider drawables have no effect. ChipGroup do not
exception error android, material-components, chipgroup, deprecated, layout
Changing divider modes has no effect. ChipGroup do not use d
exception error android, material-components, chipgroup, deprecated, divider
Changing flex wrap not allowed. ChipGroup exposes a singleLi
exception error android, material-components, chipgroup, deprecated, flexbox
Caller must set a non-null RevealInfo before calling this.
exception error android, material-components, animation, circular-reveal, null-check
No color resources provided for harmonization.
exception error android, material-components, dynamic-color, resources, validation
Non color resource found: name={name}, typeId={typeId}
exception error android, material-components, dynamic-color, resources, type-mismatch
Not supported with unknown package id: {packageId}
exception error android, material-components, dynamic-color, resources, package-id
No color resources found for harmonization.
exception error android, material-components, dynamic-color, resources, internal
Theme overlay should be used with the accompanying int[] att
exception error android, material-components, dynamic-color, theming, validation
start Month cannot be after current Month
exception error android, material-components, datepicker, validation, calendar
current Month cannot be after end Month
exception error android, material-components, datepicker, validation, calendar
firstDayOfWeek is not valid
exception error android, material-components, datepicker, validation, calendar
%1$s must have its Adapter set to a %2$s
exception error android, material-components, datepicker, adapter, type-guard
dateSelector should not be null. Use MaterialTextInputPicker
exception error android, material-components, datepicker, fragment, lifecycle
Only Gregorian calendars are supported.
exception error android, material-components, datepicker, calendar, locale
firstPage cannot be after currentPage
exception error material-components, datepicker, calendar-constraints, validation
currentPage cannot be after lastPage
exception error material-components, datepicker, calendar-constraints, validation
Invalid orientation: {}. It should be either HORIZONTAL or V
exception error material-components, recyclerview, divider, orientation, validation
Couldn't set RippleDrawable radius
exception error material-components, ripple, reflection, proguard, api-level
Custom size must be non-negative
exception error material-components, fab, size, validation
This component requires that you specify a valid TextAppeara
exception error material-components, theme, textappearance, inflation
The style on this component requires your app theme to be {}
exception error material-components, theme, inflation, material-theme
Only one RevealableListItem with end gravity is supported.
exception error material-components, listitem, swipe, layout-structure
Only one RevealableListItem with start gravity is supported.
exception error material-components, listitem, swipe, layout-structure
Only one SwipeableListItem view is allowed in a ListItemLayo
exception error material-components, listitem, swipe, layout-structure
No RevealableListItem with gravity {}
exception error material-components, listitem, swipe, gravity
Invalid state to get swipe offset: {}
exception error material-components, listitem, swipe, state-machine
revealView must be a child of ListItemLayout.
exception error material-components, listitem, swipe, view-recycling
Invalid swipe state: {}
exception error material-components, listitem, swipe, validation
ListItemLayout must have a SwipeableListItem child and a Rev
exception error material-components, listitem, swipe, lifecycle
No RevealableListItem is defined for the given gravity: {}
exception error material-components, listitem, swipe, gravity
Cannot have more than one RevealableListItem with the same a
exception error material-components, listitem, swipe, rtl, gravity
Didn't find ListItemLayout in root itemView or among itemVie
exception error material-components, listitem, viewholder, layout-structure
indicatorColors cannot be empty when indicatorColor is not u
exception error material-components, loading-indicator, resources, theming
A MaterialSpring style must have stiffness value.
exception error android, material-components, animation, spring, style-attribute
A MaterialSpring style must have a damping value.
exception error android, material-components, animation, spring, style-attribute
Motion easing theme attribute must be an @interpolator resou
exception error android, material-components, animation, interpolator, theme-attribute
Motion easing theme attribute must have 4 control points if
exception error android, material-components, animation, easing, cubic-bezier
Invalid motion easing type: %s
exception error android, material-components, animation, easing, theme-attribute
Motion easing control point value must be between 0 and 1; i
exception error android, material-components, animation, easing, cubic-bezier, validation
%s does not support submenus
exception error android, material-components, navigation, menu, bottom-navigation
Maximum number of items supported by %s is %d. Limit can be
exception error android, material-components, navigation, menu, bottom-navigation, validation
Only one layer of submenu is supported; a submenu inside a s
exception error android, material-components, navigation, menu, submenu
%d is not a valid view id
exception error android, material-components, navigation, menu, view-id
Called setCheckedItem(MenuItem) with an item that is not in
exception error android, material-components, navigation, navigationview, menu
NavigationView back progress requires the direct parent view
exception error android, material-components, navigationview, drawerlayout, predictive-back
Cannot set framework drawable as progress drawable.
exception error android, material-components, progressindicator, drawable
Cannot set framework drawable as indeterminate drawable.
exception error android, material-components, progressindicator, drawable
The component's visibility must be one of VISIBLE, INVISIBLE
exception error android, material-components, progressindicator, visibility, validation
indicatorColors cannot be empty when indicatorColor is not u
exception error android, material-components, progressindicator, color, resources
indicatorTrackGapSize must be >= 0.
exception error android, material-components, progressindicator, dimension, validation
Cannot change indeterminate animation type while the progres
exception error android, material-components, progressindicator, circular, animation, state
Cannot set showAnimator while the current showAnimator is ru
exception error android, material-components, progressindicator, animation, animator, state
Cannot set hideAnimator while the current hideAnimator is ru
exception error android, material-components, progressindicator, animation, animator, state
Cannot change indeterminate animation type while the progres
exception error android, material-components, progress-indicator, animation, state
Stop indicator size must be >= 0.
exception error android, material-components, progress-indicator, validation, xml
Rounded corners without gap are not supported in contiguous
exception error android, material-components, progress-indicator, animation, validation
Contiguous indeterminate animation must be used with 3 or mo
exception error android, material-components, progress-indicator, animation, colors
%1$s requires a value for the %2$s attribute to be set in yo
exception critical android, material-components, theme, xml, configuration
SearchBar does not support title. Use hint or text instead.
exception error android, material-components, searchbar, xml, attributes
SearchBar does not support subtitle. Use hint or text instea
exception error android, material-components, searchbar, xml, attributes
invalid shadow size
exception error android, material-components, shadow, validation, animation
Scroll bar must contain a child to calculate interpolation.
exception error android, material-components, shape, scrollview, state
Invalid shadow bounds. Check that the treatments result in a
exception error android, material-components, shape, shadow, custom-view
Sheet view reference is null; sheet edge cannot be changed i
exception error android, material-components, sidesheet, dialog, lifecycle
Sheet view has been laid out; sheet edge cannot be changed o
exception error android, material-components, sidesheet, dialog, lifecycle
Invalid sheet edge position value: %d. Must be %d or %d.
exception error android, material-components, sidesheet, validation
Unexpected value: %s
exception error android, material-components, sidesheet, state-restoration
STATE_%s should not be set externally.
exception error android, material-components, sidesheet, state-machine, misuse
Invalid state to get outer edge offset: %d
exception error android, material-components, sidesheet, validation, state-machine
The view is not a child of CoordinatorLayout
exception error android, material-components, sidesheet, layout, coordinatorlayout
The view is not associated with SideSheetBehavior
exception error android, material-components, sidesheet, layout, coordinatorlayout
The view is not associated with SideSheetBehavior
exception error android, material-components, sidesheet, dialog, subclassing
The stepSize(%s) must be 0, or a factor of the valueFrom(%s)
exception error android, material-components, slider, validation, math
valueFrom(%s) must be smaller than valueTo(%s)
exception error android, slider, material-components, configuration, layout-time
Slider value(%s) must be greater or equal to valueFrom(%s),
exception error android, slider, material-components, configuration, layout-time
minSeparation(%s) must be greater or equal to 0
exception error android, slider, material-components, configuration, range-slider
minSeparation(%s) cannot be set as a dimension when using st
exception error android, slider, material-components, configuration, range-slider
minSeparation(%s) must be greater or equal and a multiple of
exception error android, slider, material-components, configuration, range-slider
At least one value must be set
exception error android, slider, material-components, validation, immediate
The continuousModeTickCount(%s) must be greater than or equa
exception error android, slider, material-components, validation, immediate
index out of range
exception error android, slider, material-components, validation, immediate, accessibility
The inactive and active ticks are different colors. Use the
exception error android, slider, material-components, color, api-misuse
Unexpected tickVisibilityMode:
exception error android, slider, material-components, invariant, unreachable-default
The inactive and active parts of the track are different col
exception error android, slider, material-components, color, api-misuse
Unexpected labelBehavior:
exception error android, slider, material-components, invariant, interaction
Not enough labels(%d) to display all the values(%d)
exception error android, slider, material-components, invariant, internal
Transient bottom bar must have non-null parent
exception error android, snackbar, material-components, null-safety, immediate
Transient bottom bar must have non-null content
exception error android, snackbar, material-components, null-safety, immediate
Transient bottom bar must have non-null callback
exception error android, snackbar, material-components, null-safety, immediate, custom-subclass
Unable to find anchor view with id:
exception error android, snackbar, material-components, view-resolution, immediate
No suitable parent found from the given view. Please provide
exception error snackbar, android, view-hierarchy, ui
The layout of this snackbar does not include a close Materia
exception error snackbar, material3, theming, ui
Tab belongs to a different TabLayout.
exception error tablayout, tabs, android, ui
Tab does not belong to this TabLayout.
exception error tablayout, tabs, android, ui
is not a valid TabIndicatorAnimationMode
exception error tablayout, validation, android, ui
Only TabItem instances can be added to TabLayout
exception error tablayout, xml, tabs, android
Tab not attached to a TabLayout
exception error tablayout, tabs, api-order, android
Unable to create badge
exception error tablayout, badge, defensive-check, android
TabLayoutMediator is already attached
exception error tablayout, viewpager2, lifecycle, android
TabLayoutMediator attached before ViewPager2 has an adapter
exception error tablayout, viewpager2, api-order, android
EditText needs to be an AutoCompleteTextView if an Exposed D
exception error textinputlayout, dropdown, type-mismatch, android
The current box background mode is not supported by the end
exception error textinputlayout, dropdown, box-background-mode, android
endIconSize cannot be less than 0
exception error textinputlayout, validation, icons, android
Invalid end icon mode:
exception error textinputlayout, validation, icons, android
startIconSize cannot be less than 0
exception error textinputlayout, validation, icons, android
> boxBackgroundMode < is illegal; only @BoxBackgroundMode co
exception error textinputlayout, validation, box-background-mode, android
We already have an EditText, can only have one
exception error android, material-components, textinputlayout, xml-layout, view-hierarchy
no button data for mode: > mode <
exception error android, material-components, timepicker, enum-validation, input-mode
The view is not a child of CoordinatorLayout
exception error android, material-components, coordinatorlayout, expandablebehavior, view-hierarchy
The view is not associated with ExpandableBehavior
exception error android, material-components, coordinatorlayout, layout-behavior, expandablebehavior
This behavior cannot be attached to a GONE view. Set the vie
exception error android, material-components, fab-transformation, view-visibility, coordinatorlayout
Invalid fade mode: > fadeMode <
exception error android, material-components, container-transform, fade-mode, enum-validation
Invalid fit mode: > fitMode <
exception error android, material-components, container-transform, fit-mode, enum-validation
Invalid transition direction: > transitionDirection <
exception error android, material-components, container-transform, transition-direction, enum-validation
Setting alpha on is not supported
exception error android, material-components, container-transform, drawable, unsupported-operation
Setting a color filter is not supported
exception error android, material-components, container-transform, drawable, color-filter, unsupported-operation
Invalid axis: > axis <
exception error android, material-components, shared-axis, transition, enum-validation
Slide distance must be positive. If attempting to reverse th
exception error android, material-components, shared-axis, slide-distance, input-validation
Invalid slide direction: > slideEdge <
exception error android, material-components, slide-edge, gravity, transition
Invalid motion path type: > pathInt <
exception error android, material-components, theme, motion-path, transition, enum-validation
Motion path theme attribute must either be an enum value or
exception error android, material-components, theme, motion-path, resource-type, transition
> resourceName < is not a valid ancestor
exception error android, material-components, view-hierarchy, ancestor-lookup, container-transform
Invalid fade mode: > fadeMode <
exception error android, material-components, platform-transitions, container-transform, fade-mode, enum-validation
Invalid fit mode: > fitMode <
exception error android, material-components, platform-transitions, container-transform, fit-mode, enum-validation
Invalid transition direction: > transitionDirection <
exception error android, material-components, platform-transitions, container-transform, transition-direction, enum-validation
Setting alpha on is not supported
exception error android, material-components, transition, drawable, fragment
Setting a color filter is not supported
exception error android, material-components, transition, drawable, tint
Invalid axis: > axis <
exception error android, material-components, transition, shared-axis, validation
Slide distance must be positive. If attempting to reverse th
exception error android, material-components, transition, slide-distance, validation
Invalid slide direction: > slideEdge <
exception error android, material-components, transition, gravity, validation
Invalid motion path type: > pathInt <
exception error android, material-components, transition, theme, path-motion
Motion path theme attribute must either be an enum value or
exception error android, material-components, transition, theme, typed-value
> resourceName < is not a valid ancestor
exception error android, material-components, transition, container-transform, view-hierarchy