【发布时间】:2013-09-20 09:14:55
【问题描述】:
我正在使用这个http://www.survivingwithandroid.com/2013/05/build-weather-app-json-http-android.html 教程来了解如何在我的应用程序中使用天气服务。我运行本教程,它工作正常。但我有一个问题。无法加载图标。 Logcat 错误是
java.io.FileNotFoundExeption: http://openweathermap.org/img/w/ at libcore.net.http.HttpURLConnectionTmpl.getInputStream(HttpURLConnctionTmpl.java:186)
当我在 Chrome 中打开此链接时,我可以看到图像,所以我不知道为什么找不到它。 代码在那里https://github.com/survivingwithandroid/Surviving-with-android/tree/master/WeatherApp 文件“WeatherHttpClient.java”第 87 行出错
【问题讨论】:
标签: android