最近經常發生Android的配置文件(像:AndroidManifest.xml)在ECLIPSE中讀取出錯的情況,報錯情況如下:
Could not open the editor: The editor class could not be instantiated. This usually indicates a missing no-arg constructor or that
the editor's class name was mistyped in plugin.xml.
這個問題可能是由于編輯器是用JDK1.5編譯而造成的,而我使用的是JDK1.6。
我把JDK設置成1.5后問題解決了(方法:Windows->Preferences->Java->Compiler->Compiler compliance level:1.5)。
如圖所示:
MSN:
posted on 2009-04-29 21:04
kylixlu 閱讀(1285)
評論(0) 編輯 收藏 所屬分類:
Android