failed to find style 'cardView Style' in current theme

前端 未结 4 1195
鱼传尺愫
鱼传尺愫 2020-12-29 01:22

After updating support library version 27.1.0 Android Studio unable to render CardView. It shows error message as

failed to fi         


        
4条回答
  •  爱一瞬间的悲伤
    2020-12-29 01:35

    In my case the reason of the error with CardView was because of the wrong listheader attribute of a child Spinner. Alongside the failed to find style 'cardView Style' in current theme error message I got Spinner adapter view type count must be 1, so the roots of the CardView failing were surprisingly in Spinner rendering failure.

提交回复
热议问题