在 Mac 上将 ADT Plugin v9 与 Eclipse 一起使用时 Android 首选项会冻结吗?
我刚刚在 Mac OS X 10.6.6 上安装了 Eclipse 3.6.1 并添加了 ADT Plugin v9。当我进入首选项添加 Android SDK 的路径时,我收到一个弹出窗口,其中显示“感谢您使用 Android SDK!”带有用于启用使用统计信息的复选框。此时,Eclipse 冻结了,我既无法继续也无法取消。
我必须强制退出 Eclipse,然后重新启动时,每次都会出现同样的问题。
有什么想法如何避免或绕过这个吗?我想弹出窗口只会显示,直到某些配置值设置为first_launch = false 或类似值。
I just installed Eclipse 3.6.1 and added the ADT Plugin v9 on Mac OS X 10.6.6. When I go to preferences to add the path to the Android SDK, I get a popup with "Thanks for using the Android SDK!" with a checkbox for enabling usage stats. At this point, Eclipse freezes, and I can neither continue nor cancel.
I have to force quit Eclipse, and when relaunching, the same issue appears every time.
Any ideas how to avoid or bypass this? I suppose the popup will only be displayed until some config value has been set to first_launch = false or similar.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
点击窗口-> Android SDK 和 AVD 管理器
这会抱怨 android sdk 位置未在首选项中设置,并会弹出对话框,显示“感谢使用 Android SDK”。您将能够单击“继续”,对话框将会消失。
现在转到首选项并设置您的 android sdk 位置。
Click on Window -> Android SDK and AVD Manager
This will complain that android sdk location is not set in preferences and will popup the dialog saying "Thanks for using the Android SDK". You'll be able to click on proceed and dialog will disappear.
Now go to preferences and set your android sdk location.
这是一个错误。我昨天重新安装了 Eclipse 和 Android SDK,也遇到了同样的问题。
解决方案是,呃是在后台打开的另一个对话框,它捕获了鼠标焦点。因此 Eclipse 不会冻结,但您无法单击任何内容,因为 Android 对话框没有焦点。
只需打开 Expose(保存所有打开的窗口和对话框),选择在 Eclipse 中打开的另一个对话框并确认即可。之后您还可以确认 Android 对话框。
This is sort of a bug. Ive reinstalled Eclipse and Android SDK yesterday and had the same problem.
The solution is, that er is another dialog opened in the background which catches the mouse focus. So Eclipse does not freeze but you cannot click anything because the Android Dialog has no focus.
Just open Expose (shop alle opened windows and dialogs), pick the other dialog which is opened in Eclipse and confirm it. After that you will be able to confirm the android dialog as well.
如果您可以在 http://code.google 上提交有关此问题的错误,将会对我们有所帮助。 com/p/android/issues/list 这样我们就可以调试并希望修复它。我们很久以前在 Windows 上看到过类似的东西,但据我们所知,它在 Mac 上是新的。
如果您确实提交了错误,请包含您下载的 Eclipse“版本”/包(例如 J2EE 与 J2SE 等),以及您安装的其他插件(如果有)。
同时,您可以通过直接从 Finder 运行 ddms 等工具来解决锁定问题;这将导致弹出窗口出现在 Eclipse 之外,您可以将其关闭并继续。之后它应该可以在 Eclipse 中运行。
It would help us if you could file a bug on this at http://code.google.com/p/android/issues/list so we can debug and hopefully fix it. We saw something similar to this on Windows a long time ago, but it's new on Mac as far as we know.
If you do file a bug, please include the Eclipse "edition"/package you downloaded (e.g. J2EE vs. J2SE, etc.), and what other plugins you've installed, if any.
In the meantime, you can get around the lockup by running a tool like ddms directly from Finder; that will cause the popup to appear outside of Eclipse, and you can dismiss it and move on. After that it should work from within Eclipse.
只需使用向导创建一个新的 Android 应用程序即可。它也会弹出该窗口,但该窗口是可单击的。
Simply create a new android app using wizard. It will pop the window too, but this window is clickable.
按 ESC,在 SDK 弹出窗口中单击“继续”,重新打开“首选项”。这是最简单的程序。
Hit ESC, click Proceed in the SDK Popup, reopen Preferences. This the easiest procedure.