应该是io错误,求大佬帮忙看一下
09-20 19:57:14.869: E/eglCodecCommon(622): HostChannelStream::connect() - connectChannel m_clientID = 671, m_fd_ioctl=36
09-20 19:57:14.869: E/eglCodecCommon(622): Success in attachChannel *pu32ChannelHandle=1
09-20 19:57:14.949: E/OpenGLRenderer(622): Getting MAX_TEXTURE_SIZE from GradienCache
09-20 19:57:14.953: E/eglCodecCommon(622): writeFully: failed: -22, size = 64
09-20 19:57:14.953: E/OpenGLRenderer(622): Getting MAX_TEXTURE_SIZE from Caches::initConstraints()
这个是日志猫报错
try {
weatherList = parser.parserXml(getAssets().open("weather.xml"));
} catch (IOException e1) {
Toast.makeText(this,"1",1).show();
e1.printStackTrace();
}
这个是相关的代码片段
parser类的parserXml()接收一个输入流参数----parserXml(InputStream in)