无法将 Android 项目导入 Eclipse - 完成按钮不执行任何操作
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/17971385/
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 import Android project into Eclipse - Finish button doesn't do anything
提问by Max
I have downloaded latest ActionBarSherlock and trying to open it in Eclipse.
我已经下载了最新的 ActionBarSherlock 并尝试在 Eclipse 中打开它。
After pressing Finish button nothing happens. No errors. All buttons work as if I have not pressed Finish button. I can return Back or Refresh or check checkbox.
按完成按钮后没有任何反应。没有错误。所有按钮都像我没有按下完成按钮一样工作。我可以返回返回或刷新或复选框。
My path has no spaces.
我的路径没有空格。
ActionCarSherlock requires ADT version 0.9.7 but I have found following version of software in eclipse.
ActionCarSherlock 需要 ADT 0.9.7 版,但我在 Eclipse 中发现了以下软件版本。
Android Development Tools 21.1.0.v201302060044-569685 com.android.ide.eclipse.adt.feature.group The Android Open Source Project
Android 开发工具 21.1.0.v201302060044-569685 com.android.ide.eclipse.adt.feature.group Android 开源项目
PS Eclipse update has not helped me (updating SDK)
PS Eclipse 更新对我没有帮助(更新 SDK)
PS Android SDK update fixed it
PS Android SDK 更新修复了它
采纳答案by Benito Bertoli
I came across this problem yesterday.
我昨天遇到了这个问题。
I had recently updated the ADT plugin without updating the Android SDK Tools and Platform-tools.
我最近更新了 ADT 插件,但没有更新 Android SDK 工具和平台工具。
So make sure all of the above are up-to-date.
因此,请确保以上所有内容都是最新的。
回答by Marco Rosner
Uninstall your ADT (21.1.0) and install your ADT to 23.0.2.
卸载 ADT (21.1.0) 并将 ADT 安装到 23.0.2。
Some features that will apply in the last version isn't compatible with the first one.
将在最后一个版本中应用的某些功能与第一个版本不兼容。
回答by StacyM
For me, it seemed Finish did nothing, but my Project Explorer view wasn't open. You have to click on the small icon to have the Project Explorer open.
对我来说,Finish 似乎什么也没做,但我的 Project Explorer 视图没有打开。您必须单击小图标才能打开 Project Explorer。
回答by Simon
I guess the issue is because your imported project is in the same directory of your workspace directory. If you move the project to an temporary directory and import it with copy box checked, it will copy the project from your temporary directory to your workspace. Then you just delete the temporary directory.
我想问题是因为您导入的项目位于工作区目录的同一目录中。如果您将项目移动到一个临时目录并在选中复制框的情况下导入它,它会将项目从您的临时目录复制到您的工作区。然后你只需删除临时目录。