You must supply a resource ID for a TextView android error

后端 未结 4 1769
清酒与你
清酒与你 2020-12-03 10:08

I try all this day to resolve this error. I don\'t understand why my logcat prints:

05-06 21:45:59.559:
ERROR/ConversationList(9023): We have
chats... 05-06 21:45:         


        
4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-03 11:06

    The constructor you are using is for strictly a CheckedTextView. The problem arises due to you also providing a linear layout in your xml file. The most simple solution is to remove the linear layout and keep only the CheckedTextView. Cheers!

提交回复
热议问题