android.widget.Button cannot be cast to android.widget.EditText

前端 未结 4 871
轮回少年
轮回少年 2021-01-12 09:36

Developing my first Android calculator application, I succeeded in updating a TextView in a new activity by passing the answer via an intent, but this requires the user to h

4条回答
  •  执笔经年
    2021-01-12 10:36

    I've just had this problem. It seems that the xml layout file is not compiled properly. Or rather it is not included in the list of changed files to be compiled.

提交回复
热议问题