将现有的 android sdk 路径设置为 eclipse

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/24217702/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 07:54:03  来源:igfitidea点击:

Set existing android sdk path to eclipse

androideclipsesdkpath

提问by Vikalp

I was previously using eclipse Helios for android apps development but now I have switched to eclipse kepler. So what I want now is to use my existing android sdk to be used in eclipse kepler. I have read many thread but they say go to window --> Perspective --> select Android. The problem is I can not see android option in a list of tabs. So pls tell me how can I set path of android sdk folder in eclipse kepler.

我以前使用 eclipse Helios 进行 android 应用程序开发,但现在我已切换到 eclipse kepler。所以我现在想要的是使用我现有的android sdk 在eclipse kepler 中使用。我已经阅读了很多线程,但他们说转到窗口 --> 透视 --> 选择 Android。问题是我在选项卡列表中看不到 android 选项。所以请告诉我如何在 eclipse kepler 中设置 android sdk 文件夹的路径。

回答by matiash

First, you need to install ADT in Eclipse.

首先,您需要在 Eclipse 中安装 ADT

That generally sets everything up, but if not, the setting is in Window -> Preferences -> Android -> SDK Location.

这通常会设置所有内容,但如果没有,则设置位于 Window -> Preferences -> Android -> SDK Location。

回答by Jubin Soni

I tried this in Eclipse Kepler and below worked for me:

我在 Eclipse Kepler 中尝试过这个,下面为我工作:

Eclipse->Window->Preferences-> select Android from left hand menu->There you should see option to set SDK path

Eclipse->Window->Preferences-> 从左侧菜单中选择 Android->在那里你应该看到设置 SDK 路径的选项

Check below screenshot:

检查以下屏幕截图:

Setting SDK Path Screenshot

设置SDK路径截图