无法实例com.android.menubar.internal.MenuBarEnhancerCocoa [英] Failed to instantiate com.android.menubar.internal.MenuBarEnhancerCocoa

查看:116
本文介绍了无法实例com.android.menubar.internal.MenuBarEnhancerCocoa的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的android开发,当我使用Eclipse创建JUNO Mac OSX上一个新项目,我得到了在运行时错误的未能实例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

和是在布局文件也says-的该项目的目标(安卓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(我有多个因各种原因 - 如AppEngine上不支持最新的Eclipse)。有一些步骤,我不得不做,以解决这个(所以他们中的任何一个都可以是实际的修补程序或组合可以解决问题)。 这里有一个清单:

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 :

  1. 如果您已经安装了Eclipse - 点击Android的SDK管理器图标。确保它指向了最新的Andr​​oid SDK(R20写作的)
  2. 由于这是一个新的Eclipse + SDK - 通过从出现在SDK管理器的目标列表中选择添加构建目标。另外补充Android的支持工具
  3. 重新启动Eclipse。当被问及他工作空间 - 创建一个新的。我想我的一些问题会被链接到旧项目。
  4. 的问题应该已经消失。最后一点是,一旦你创建一个项目 - 检查你的证书没有过期。有一个关于更新调试证书另一个线程(删除密钥库位于〜/ .android / debug.keystore然后重新启动Eclipse。)
  5. 创建一个新的AVD的目标。

希望这些东西帮助。

这篇关于无法实例com.android.menubar.internal.MenuBarEnhancerCocoa的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆