我怎样才能让Eclipse中记住了Android SDK的位置? [英] How can I make Eclipse remember the Android SDK location?

查看:126
本文介绍了我怎样才能让Eclipse中记住了Android SDK的位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我尝试创建一个新的Andr​​oid项目(一个空的工作区中)与Eclipse中,构建目标,列表为空。所以,我需要取消新的Andr​​oid项目对话框,然后去了preferences并为Android重新输入SDK的位置。

Whenever I try to create a new Android project (inside an empty workspace) with Eclipse, the 'Build target' list is empty. So I need to cancel the "New Android Project" dialog, then go the preferences and re-enter the SDK location for Android.

一旦我做到了,我可以回去文件 - >新建 - > Android项目和构建目标列表已满了,所以我选择了Android 2.1(或其他),并用新进行项目。

Once I've done that, I can go back to to File -> New -> Android Project and the 'Build Target' list is full again, so I pick Android 2.1 (or whatever) and carry on with the new project.

我怎样才能使Eclipse的记住SDK位置设置,所以我不需要我想要一个新的项目,每次设置呢?

How can I make Eclipse remember the SDK location setting, so I don't need to set it every time I want to make a new project?

有关参考,我在运行Eclipse 3.6.2与对Win7的X64 Android的工具12版本和我有32位安装在 Android SDK中C:\\ Program Files文件(x86)的\\ Android的\\ Android的SDK窗口

For reference, I'm running Eclipse 3.6.2 with version 12 of the Android tools on Win7 x64 and I have the 32bit Android SDK installed in C:\Program Files (x86)\Android\android-sdk-windows.

推荐答案

您创建一个新的工作区呢?

Are you creating a new workspace as well?

这是我所见过它不记得SDK位置唯一的一次。在日食它那种期待您继续项目添加到同一个工作区,你可以关闭这些项目,使他们不编译等。

That's the only time I have ever seen it not remember the SDK location. In eclipse it kind of expects you to continue to add projects to the same workspace, you can close those projects so they don't compile etc.

这是如果你是从哪里来有点怪异其他IDE的

This is a bit wierd if you are coming from other IDE's

这篇关于我怎样才能让Eclipse中记住了Android SDK的位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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