if (!output.isEmpty()) { JSONObject obj = new JSONObject(output); Math.round(temp_info1); temp_info1.setText(("Temperature: ") + (obj.getJSONObject("main").getDouble("temp") + "°C")); cloudiness_info.setText(("Cloudiness: ") + (obj.getJSONObject("clouds").getDouble("all") + "%")); } } }); }
выдает ошибку после math.round (cannot resolve symbol)