Android 网络使用应用程序,解析 XML 时出错 [英] Android Networkusage app,Error Parsing XML

查看:32
本文介绍了Android 网络使用应用程序,解析 XML 时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用 developer.android.com 的教程我没有修改NetworkUsage"项目中的任何代码,我的互联网连接(公平)仅限于我的 android 设备,所以我使用它进行调试,但它给了我错误解析 XML"而不是常规的 webview 显示.这是一个一般错误,如何解决

Ive been using the tutorials from developer.android.com I DID NOT modify any code in the "NetworkUsage" project ,My internet connection (fair) is limited to my android device so I debug using that but it gives me "Error parsing XML" instead of the regular webview display.Is this a general error and how can this be solved

推荐答案

编辑 Manifest 文件并将其设为 .NetworkActivity 在android:name...."而不是 com.example.android.NetworkActivity

Edit the Manifest file and make it .NetworkActivity in the "android:name...." Insteadb of the com.example.android.NetworkActivity

这篇关于Android 网络使用应用程序,解析 XML 时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆