打开 AndroidManifest.xml 文件时 Subclipse 抛出错误
我刚刚安装了 Subclipse for Eclipse。这是我第一次使用 SVN,所以任何指导或概述将不胜感激!
安装 Subclipse 后,我成功地打开了 .java 和其他文件,但有一些文件(包括 AndroidManifest.xml)在打开它们时抛出以下错误:
org.eclipse.ui.PartInitException: Invalid Input: Must be IFileEditorInput
有关如何操作的任何想法解决?
谢谢!
I just installed Subclipse for Eclipse. This is my first time using SVN, so any guidance or overview will be appreciated!
After installing Subclipse I was successfully able to open .java and other files, but a few, including the AndroidManifest.xml throw the following error when opening them:
org.eclipse.ui.PartInitException: Invalid Input: Must be IFileEditorInput
Any ideas on how to resolve?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信您正在引用直接从存储库浏览器打开文件(而不是首先将它们下载到项目中)。您发现有些编辑器尚未编写用于处理该输入。
右键单击该文件并选择打开方式。请注意列出的是哪个编辑器。我猜,这是 ADK 的东西。然后选择另一个可用的编辑器(例如 XML 编辑器或文本编辑器)。您可能无法获得专用于该文件类型的编辑器的所有功能,但至少您将能够查看源代码。
最后一步是在负责故障编辑器的项目/产品的论坛上报告问题。
I believe you are referencing opening files directly from repository browser (as opposed to first downloading them into a project). Some editors as you have found have not been written to work with that input.
Right click on the file and select Open With. Note which editor is listed. I would guess, it's something from ADK. Then select another available editor (such as XML Editor or Text Editor). You may not get all the features of an editor dedicated for that file type, but at least you will be able to view the source.
The final step is to report the issue on the forum of the project/product responsible for the malfunctioning editor.