You've got an inexistent Resource in line 180 of your Main.java.
My guess is it's R.string.temp
but since you haven't posted even the name of your file, it's just that: a guess.
And I just saw the trouble:
tempText.setText(R.string.temp + temp);
The documentation allows setting the text directly to a resid. However, by adding temp to that value, you altered it and are asking for an inexistent resource.
One way to correct it would be to:
String resourceTemp = context.getString(R.string.temp);
tempText.setText(resourceTemp + " " + temp);