我正在尝试从资源文件夹中读取一个xml文件,该文件夹是eclipse项目中的 in WebContent。问题是,我无法从资源文件夹中读取文件,但通过给出外部路径(即E:/new/test.xml),它可以正常工作。File file = new File(request.getSession().getServletCon
我编写了下面的java类来读取android中的xml文件内容。但是,当它打开的时候,却显示出它停止工作的不幸。InputStream inputStream = null; inputStream = assetManager.open("test.xmlThe application may be doing too much work on its main threa