问题一:《android.widget.TextView cannot be cast to android.widget.Button》 当出现这种问题的时候 解决办法: Project--Clean 清理一下项目缓存,基本上会正常。