Android.widget,textView cannot be cast to android.widget,button

前端 未结 11 632
你的背包
你的背包 2020-12-08 05:01

I keep getting a runtime error when launching my activity and it says android.widget.textview cannot be cast to android.widget.button?

XML:



        
11条回答
  •  情深已故
    2020-12-08 05:27

    Please attach your java code to find out where the problem is occuring. This problem comes when you are trying to convert the textview to button.

提交回复
热议问题