Android 在 Eclipse 中找不到 AVD 或 SDK 管理器
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12028811/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Can't find AVD or SDK manager in Eclipse
提问by Ishtiaque Khan
Seems like I'm having some problems after updating my android sdk tools and platform-tools using the sdk manager. The problem is that, after updating, I found that the avd or sdk options in the windows dropdown menu in eclipse are gone! And, I can't find any option to create an android project from file->new projects any more.
使用 sdk 管理器更新我的 android sdk 工具和平台工具后,我似乎遇到了一些问题。问题是,更新后发现eclipse中windows下拉菜单中的avd或sdk选项不见了!而且,我再也找不到从文件-> 新项目创建 android 项目的任何选项。
I tried removing the ADT from eclipse and the software site "https://dl-ssl.google.com/android/eclipse/" from "available software sites" and then reinstalled the ADT from "https://dl-ssl.google.com/android/eclipse/" using help->install new software. The installation was successful, but I still don't have any option for shortcuts to the SDK manager or the AVD in eclipse, and neither can I create a new android project.
我尝试从 eclipse 和软件站点“https://dl-ssl.google.com/android/eclipse/”中删除 ADT,然后从“可用软件站点”中重新安装 ADT。 google.com/android/eclipse/”使用帮助->安装新软件。安装成功了,但是我仍然没有任何快捷方式可以选择到sdk管理器或eclipse中的AVD,我也无法创建新的android项目。
By the way, the android perspectives are not gone, they are still here. Also, I can manually open the avd and sdk manager from the directory where I have installed them.
顺便说一下,android 视角并没有消失,它们仍然存在。此外,我可以从安装它们的目录手动打开 avd 和 sdk 管理器。
Can anyone please show me a workaround? Any help would be greatly appreciated.
任何人都可以告诉我一个解决方法吗?任何帮助将不胜感激。
回答by joseluismms
I have solved this as follows:
我已经解决了这个问题如下:
Window > Customize Perspective... (you will see Android and AVD Manager are disabled)
Command Groups Availability > Android and AVD Manager > check
Tool Bar Visibility > Android and AVD Manager > check
Window > Customize Perspective...(您将看到 Android 和 AVD Manager 被禁用)
命令组可用性 > Android 和 AVD 管理器 > 检查
工具栏可见性 > Android 和 AVD 管理器 > 检查
回答by Chris Yuan
I had similar problem after updating SDK from r20 to r21, but all I missed was the SDK/AVD Manager and running into this post while searching for the answer.
将 SDK 从 r20 更新到 r21 后,我遇到了类似的问题,但我错过的只是 SDK/AVD 管理器,并在搜索答案时遇到了这篇文章。
I managed to solve it by going to Window -> Customize Perspective
, and under Command Groups Availability tab check the Android SDK and AVD Manager (not sure why it became unchecked because it was there before). I'm using Mac by the way, in case the menu option looks different.
我设法通过转到解决它Window -> Customize Perspective
,并在命令组可用性选项卡下检查 Android SDK 和 AVD 管理器(不知道为什么它变得未选中,因为它以前就在那里)。顺便说一下,我正在使用 Mac,以防菜单选项看起来不同。
回答by Kenneth Hurley
Well I feel silly, but my problem was that I was in the Debug perspective and they do not show up in that perspective. Switched back to the Java perspective and viola.
好吧,我觉得很傻,但我的问题是我处于 Debug 透视图中,而它们没有出现在那个透视图中。切换回 Java 透视图和中提琴。
回答by Kenneth Hurley
Window -> Custom Perspective -> Command Groups Availability -> Android SDK and AVD Manager check it
Window -> Custom Perspective -> Command Groups Availability -> Android SDK and AVD Manager 检查它
回答by nandeesh
Chances are that you may be running your eclipse using Java 1.5.
您可能正在使用 Java 1.5 运行 Eclipse。
Latest Plugin requires that the JRE be 1.6 or higher.
You will have to use Eclipse that runs on JRE 1.6
您必须使用在 JRE 1.6 上运行的 Eclipse
Edit: I had run into same problems. If it is not JRE problem then you can debug this. Follow below procedure:
编辑:我遇到了同样的问题。如果不是 JRE 问题,那么您可以调试它。遵循以下程序:
- Window -> show View -> other -> Plugin Development -> Plugin Registry
- In the plugin registry search for com.android.ide.eclipse.adt or any other plugin related to android (depending on your installation there maybe 7-8)
- Select , Right Click -> Diagnose. This will show the problem why the plugin was not loaded
- 窗口 -> 显示视图 -> 其他 -> 插件开发 -> 插件注册表
- 在插件注册表中搜索 com.android.ide.eclipse.adt 或任何其他与 android 相关的插件(取决于您的安装,可能有 7-8 个)
- 选择 ,右键单击 -> 诊断。这将显示未加载插件的问题
回答by Rajarshi Rakshit
I would suggest you to install the ADT plugin compatable with your Android SDK tools and try to install all the required plugins compatable with your Android SDK LIKE Android SDK tools Rev 20.0.3 Android SDK tools Rev 20.0.3 Android SDK Platform-tools Rev 14 Android 2.3.3(API 10) sdk platform rev 2 samples for sdk api 10 rev 1 ADT Plugin 20.0.3
我建议您安装与您的 Android SDK 工具兼容的 ADT 插件,并尝试安装与您的 Android SDK 兼容的所有必需插件,例如 Android SDK 工具 Rev 20.0.3 Android SDK 工具 Rev 20.0.3 Android SDK Platform-tools Rev 14 Android 2.3.3(API 10) sdk 平台 rev 2 示例,适用于 sdk api 10 rev 1 ADT 插件 20.0.3
回答by Serdar Samanc?o?lu
Try to reinstall ADT pluginon Eclipse. Check out this: Installing the Eclipse Plugin
尝试在 Eclipse 上重新安装ADT 插件。看看这个: 安装 Eclipse 插件
回答by Michael Kern
Unfortunately I ended up having to re-install eclipse. but first (In Linux)(not sure of folder in Windows) do:
不幸的是,我最终不得不重新安装 eclipse。但首先(在 Linux 中)(不确定 Windows 中的文件夹)执行以下操作:
sudo rm -R /usr/share/eclipse/