Hi,
The error means a resource you've used couldn't be found.
Please check that you've created a
TextView
with the
id
of
textView14
.
Lastly, change the line:
num1.setText(a);
to:
num1.setText(a.toString());
This is because TextViews only accept text in form of String.