【发布时间】:2013-12-01 13:18:00
【问题描述】:
我正在处理这个 http://www.survivingwithandroid.com/2013/05/build-weather-app-json-http-android.html 学习如何在我的应用程序中使用天气服务的教程。我运行本教程,它工作正常。但我有一个问题。无法加载图标。 Logcat 错误是
java.io.FileNotFoundExeption: http://openweathermap.org/img/w/ 在 libcore.net.http.HttpURLConnectionTmpl.getInputStream(HttpURLConnctionTmpl.java:186)
当我在 Chrome 中打开此链接时,我可以看到图像,所以我不知道为什么找不到它。
提前致谢
【问题讨论】:
-
code is there github.com/survivingwithandroid/Surviving-with-android/tree/…文件“WeatherHttpClient.java”第87行错误
标签: android