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. 157 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| secondaryIconGravity cannot have the same alignment as… | exception | error | android, material-components, materialbutton, icon, xml-config |
| Setting alpha on is not supported | exception | error | android, material-components, transition, drawable, fragment |
| Attempted to set ShapeAppearanceModel on a MaterialButton… | exception | error | android, material-components, materialbutton, shape, background |
| Attempted to set ShapeAppearance on a MaterialButton which… | exception | error | android, material-components, materialbutton, shape, restricted-api, background |
| Motion path theme attribute must either be an enum value or… | exception | error | android, material-components, transition, theme, typed-value |
| This component requires that you specify a valid… | exception | error | material-components, theme, textappearance, inflation |
| Couldn't set RippleDrawable radius | exception | error | material-components, ripple, reflection, proguard, api-level |
| Keylines being linearly interpolated must have the same… | exception | error | android, material-components, carousel, keylines, animation, custom-strategy |
| > resourceName < is not a valid ancestor | exception | error | android, material-components, transition, container-transform, view-hierarchy |
| Anchor keylines cannot be focal. | exception | error | android, material-components, carousel, keylines, custom-strategy, builder |
| Invalid motion path type: > pathInt < | exception | error | android, material-components, transition, theme, path-motion |
| invalid orientation | exception | error | android, material-components, carousel, argument-validation, internal-api |
| Setting a color filter is not supported | exception | error | android, material-components, transition, drawable, tint |
| Slide distance must be positive. If attempting to reverse… | exception | error | android, material-components, shared-axis, slide-distance, input-validation |
| The wrap overflow mode is not compatible to the vertical… | exception | error | android, material-components, materialbuttongroup, layout, xml-config |
| This behavior cannot be attached to a GONE view. Set the… | exception | error | android, material-components, fab-transformation, view-visibility, coordinatorlayout |
| Anchor keylines must be either the first or last keyline. | exception | error | android, material-components, carousel, keylines, custom-strategy, builder |
| Cannot have more than one RevealableListItem with the same… | exception | error | material-components, listitem, swipe, rtl, gravity |
| firstPage cannot be after currentPage | exception | error | material-components, datepicker, calendar-constraints, validation |
| MaterialSplitButton can only hold MaterialButtons. | exception | error | android, material-components, materialsplitbutton, view-hierarchy, xml-config |
| The wrap overflow mode is not compatible with wrap_content… | exception | error | android, material-components, materialbuttongroup, layout, measure, xml-config |
| Invalid slide direction: > slideEdge < | exception | error | android, material-components, transition, gravity, validation |
| Invalid shadow bounds. Check that the treatments result in… | exception | error | android, material-components, shape, shadow, custom-view |
| We already have an EditText, can only have one | exception | error | android, material-components, textinputlayout, xml-layout, view-hierarchy |
| Keylines being linearly interpolated must have the same… | exception | error | android, material-components, carousel, keylines, animation, custom-strategy |
| Attempted to get ShapeAppearanceModel from a MaterialButton… | exception | error | android, material-components, materialbutton, shape, background |
| A MaterialSpring style must have stiffness value. | exception | error | android, material-components, animation, spring, style-attribute |
| Keylines after the last focal keyline must be ordered by… | 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 before the first focal keyline must be ordered by… | exception | error | android, material-components, carousel, keylines, custom-strategy, builder |
| Invalid axis: > axis < | exception | error | android, material-components, transition, shared-axis, validation |
| The layout of this snackbar does not include a close… | exception | error | snackbar, material3, theming, ui |
| The view is not associated with ExpandableBehavior | exception | error | android, material-components, coordinatorlayout, layout-behavior, expandablebehavior |
| The style on this component requires your app theme to be | exception | error | material-components, theme, inflation, material-theme |
| iconGravity cannot have the same alignment as… | exception | error | material-button, icon, illegal-argument, xml-configuration |
| Not enough labels( ) to display all the values( ) | exception | error | android, slider, material-components, invariant, internal |
| Invalid fade mode: > fadeMode < | exception | error | android, material-components, platform-transitions, container-transform, fade-mode, enum-validation |
| MaterialSplitButton can only hold two MaterialButtons. | exception | error | android, material-components, materialsplitbutton, view-hierarchy |
| Attempted to get ShapeAppearance from a MaterialButton… | exception | error | android, material-components, materialbutton, shape, restricted-api, background |
| customBadgeParent must be a FrameLayout | exception | error | badge, deprecated-api, illegal-argument, framelayout |
| invalid orientation: | exception | error | android, material-components, carousel, recyclerview, argument-validation |
| The view is not a child of CoordinatorLayout | exception | error | android, material-components, coordinatorlayout, expandablebehavior, view-hierarchy |
| Unable to create badge | exception | error | tablayout, badge, defensive-check, android |
| dateSelector should not be null. Use… | exception | error | android, material-components, datepicker, fragment, lifecycle |
| All children of a RecyclerView using CarouselLayoutManager… | exception | error | android, material-components, carousel, recyclerview, layout |
| %1$s requires a value for the %2$s attribute to be set in… | exception | critical | android, material-components, theme, xml, configuration |
| Cannot change indeterminate animation type while the… | exception | error | android, material-components, progress-indicator, animation, state |
| Invalid fit mode: > fitMode < | exception | error | android, material-components, platform-transitions, container-transform, fit-mode, enum-validation |
| The current box background mode is not supported by the… | exception | error | textinputlayout, dropdown, box-background-mode, android |
| Theme overlay should be used with the accompanying int[]… | exception | error | android, material-components, dynamic-color, theming, validation |
| Invalid orientation: . It should be either HORIZONTAL or… | exception | error | material-components, recyclerview, divider, orientation, validation |
| Rounded corners without gap are not supported in contiguous… | exception | error | android, material-components, progress-indicator, animation, validation |
| no button data for mode: > mode < | exception | error | android, material-components, timepicker, enum-validation, input-mode |
| Keylines that are marked as focal must all have the same… | exception | error | android, material-components, carousel, keylines, custom-strategy, builder |
| NavigationView back progress requires the direct parent… | exception | error | android, material-components, navigationview, drawerlayout, predictive-back |
| Animator must be an ObjectAnimator: | exception | error | animation, motionspec, illegal-argument, objectanimator |
| Invalid transition direction: > transitionDirection < | exception | error | android, material-components, platform-transitions, container-transform, transition-direction, enum-validation |
| Motion easing theme attribute must be an @interpolator… | exception | error | android, material-components, animation, interpolator, theme-attribute |
| revealView must be a child of ListItemLayout. | exception | error | material-components, listitem, swipe, view-recycling |
| Scroll bar must contain a child to calculate interpolation. | exception | error | android, material-components, shape, scrollview, state |
| does not support submenus | exception | error | android, material-components, navigation, menu, bottom-navigation |
| There must be a keyline marked as focal. | exception | error | android, material-components, carousel, keyline-state, builder, validation |
| Invalid motion easing type | exception | error | android, material-components, animation, easing, theme-attribute |
| No suitable parent found from the given view. Please… | exception | error | snackbar, android, view-hierarchy, ui |
| No color resources provided for harmonization. | exception | error | android, material-components, dynamic-color, resources, validation |
| Didn't find ListItemLayout in root itemView or among… | exception | error | material-components, listitem, viewholder, layout-structure |
| The stepSize( ) must be 0, or a factor of the valueFrom(… | exception | error | android, material-components, slider, validation, math |
| Caller must set a non-null RevealInfo before calling this. | exception | error | android, material-components, animation, circular-reveal, null-check |
| STATE_ should not be set externally. | exception | error | android, material-components, sidesheet, state-machine, misuse |
| Cannot set framework drawable as progress drawable. | exception | error | android, material-components, progressindicator, drawable |
| %1$s must have its Adapter set to a %2$s | exception | error | android, material-components, datepicker, adapter, type-guard |
| The view is not associated with SideSheetBehavior | exception | error | android, material-components, sidesheet, dialog, subclassing |
| No RevealableListItem with gravity | exception | error | material-components, listitem, swipe, gravity |
| Motion easing control point value must be between 0 and 1… | exception | error | android, material-components, animation, easing, cubic-bezier, validation |
| No RevealableListItem is defined for the given gravity | exception | error | material-components, listitem, swipe, gravity |
| Only one layer of submenu is supported; a submenu inside a… | exception | error | android, material-components, navigation, menu, submenu |
| Sheet view reference is null; sheet edge cannot be changed… | exception | error | android, material-components, sidesheet, dialog, lifecycle |
| indicatorColors cannot be empty when indicatorColor is not… | exception | error | material-components, loading-indicator, resources, theming |
| Only one RevealableListItem with end gravity is supported. | exception | error | material-components, listitem, swipe, layout-structure |
| Cannot set framework drawable as indeterminate drawable. | exception | error | android, material-components, progressindicator, drawable |
| Unexpected labelBehavior: | exception | error | android, slider, material-components, invariant, interaction |
| Cannot set hideAnimator while the current hideAnimator is… | exception | error | android, material-components, progressindicator, animation, animator, state |
| ListItemLayout must have a SwipeableListItem child and a… | exception | error | material-components, listitem, swipe, lifecycle |
| Invalid state to get swipe offset | exception | error | material-components, listitem, swipe, state-machine |
| Invalid view edge position value: | exception | error | behavior, hide-on-scroll, illegal-argument, xml-configuration |
| ratio must be a float value between 0 and 1 | exception | error | bottomsheet, illegal-argument, validation, range-check |
| Non color resource found: name= | exception | error | android, material-components, dynamic-color, resources, type-mismatch |
| Transient bottom bar must have non-null parent | exception | error | android, snackbar, material-components, null-safety, immediate |
| Unexpected value | exception | error | android, material-components, sidesheet, state-restoration |
| A MaterialSpring style must have a damping value. | exception | error | android, material-components, animation, spring, style-attribute |
| Changing divider drawables have no effect. ChipGroup do not… | exception | error | android, material-components, chipgroup, deprecated, layout |
| Invalid state to get top offset: | exception | error | bottomsheet, illegal-argument, state-machine, serialization |
| Stop indicator size must be >= 0. | exception | error | android, material-components, progress-indicator, validation, xml |
| Demo must implement createFragment or createActivityIntent | exception | error | catalog-demo, navigation, illegal-state, configuration |
| Transient bottom bar must have non-null callback | exception | error | android, snackbar, material-components, null-safety, immediate, custom-subclass |
| Color names need to be at least four and correspond to… | exception | error | catalog-demo, color-roles, illegal-argument, validation |
| minSeparation( ) cannot be set as a dimension when using… | exception | error | android, slider, material-components, configuration, range-slider |
| No color resources found for harmonization. | exception | error | android, material-components, dynamic-color, resources, internal |
| current Month cannot be after end Month | exception | error | android, material-components, datepicker, validation, calendar |
| Slider value( ) must be greater or equal to valueFrom( )… | exception | error | android, slider, material-components, configuration, layout-time |