我是 android 开发新手,当我在 mac OSx 上使用 eclipse juno 创建一个新项目时,我在运行时遇到错误无法实例化 com.android.menubar.internal.MenuBarEnhancerCocoa
I am new to the android development and when i create a new project using eclipse juno on mac OSx i got an error at runtime Failed to instantiate com.android.menubar.internal.MenuBarEnhancerCocoa
在布局文件上是的,它还说 - 项目目标(Android 4.1)未正确加载.
And yes on the layout file it also says- The project target(Android 4.1) is not properly loaded.
请任何人帮助我如何摆脱这种情况.提前谢谢..
Anyone please help me how to get out of this. Thanks in advance..
是的,一切都已正确设置 SDK 和所有内容,因为整个设置在其他系统之一上正常运行.
And yes everything was setup properly SDK and all, because this whole setup is running properly on one of the other system.
我遇到了同样的问题,但设法解决了.com.android.menubar.internal.MenuBarEnhancerCocoa - 不在链接到 Eclipse 安装的 SDK 中(由于各种原因,我有多个 - 例如最新的 Eclipse 不支持 AppEngine).我必须采取许多步骤来解决这个问题(所以其中任何一个都可能是实际的修复,或者组合可以解决问题).这是一个清单:
I had the same problem but managed to resolve it. com.android.menubar.internal.MenuBarEnhancerCocoa - was not in the SDK that was linked to Eclipse install (I have multiple for various reasons - e.g. AppEngine not supported in latest Eclipse). There were a number of steps I had to do to resolve this (so any one of them may be the actual fix or a combination may resolve the problem). Here's a checklist :
希望这些事情有所帮助.
Hope those things help.
这篇关于无法实例化 com.android.menubar.internal.MenuBarEnhancerCocoa的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!