无法将Android项目导入Eclipse - “完成”按钮不执行任何操作

时间:2023-01-17 17:14:59

I have downloaded latest ActionBarSherlock and trying to open it in Eclipse.

我已下载最新的ActionBarSherlock并尝试在Eclipse中打开它。

无法将Android项目导入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.

按完成按钮后没有任何反应。没有错误。所有按钮的工作方式就像我没有按下完成按钮。我可以返回Back或Refresh或选中复选框。

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更新修复了它

4 个解决方案

#1


19  

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.

因此,请确保以上所有内容都是最新的。

#2


1  

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.

将在上一版本中应用的某些功能与第一个版本不兼容。

#3


0  

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。

http://i.imgur.com/2myRHTy.png

#4


0  

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.

我想问题是因为您导入的项目位于工作区目录的同一目录中。如果将项目移动到临时目录并将其导入并选中复制框,则会将项目从临时目录复制到工作区。然后你只需删除临时目录。

#1


19  

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.

因此,请确保以上所有内容都是最新的。

#2


1  

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.

将在上一版本中应用的某些功能与第一个版本不兼容。

#3


0  

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。

http://i.imgur.com/2myRHTy.png

#4


0  

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.

我想问题是因为您导入的项目位于工作区目录的同一目录中。如果将项目移动到临时目录并将其导入并选中复制框,则会将项目从临时目录复制到工作区。然后你只需删除临时目录。