更新时间:2023-11-16 19:50:40
现在的问题是在你的按钮标记之一的onClick属性:
The problem is the onClick property in one of your Button tags:
android:onClick="sendMessage" />
只要确保你有一个方法的sendMessage(查看)在你的活动。
Just make sure you have a method sendMessage(View) in your Activity.