Android SDK 安装(adt-bundle-windows-x86_64-20131030)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/20557933/
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
Android SDK installation (adt-bundle-windows-x86_64-20131030)
提问by user3046659
I have Win7-64 laptop, installed JDK, Eclise is working. I am failing to install the Android SDK. I downloaded 'adt-bundle-windows-x86_64-20131030' from developer.android. When I used SDK Manager, i could select required installation components and it shows as complete. However, I dont see anything in the 'All Programs'. I also dont see any plugin (that I was supposed to see) in the Eclipse as well. So I gather I am missing some step. Can anyone help. Pl see![][1]
我有 Win7-64 笔记本电脑,安装了 JDK,Eclise 正在工作。我无法安装 Android SDK。我从 developer.android 下载了“adt-bundle-windows-x86_64-20131030”。当我使用 SDK Manager 时,我可以选择所需的安装组件,它显示为完整。但是,我在“所有程序”中没有看到任何内容。我也没有在 Eclipse 中看到任何插件(我应该看到的)。所以我认为我错过了一些步骤。任何人都可以帮忙。请看![][1]
回答by Youngjae
Your downloaded sdk files may not shown in All Programs
as they are not executable nor meaningless to be clickable.
您下载的 sdk 文件可能不会显示,All Programs
因为它们不可执行,也没有意义可点击。
Sometimes many folks got a problem to point out exact SDK path, so more than one SDK binaries are downloaded. I think your eclipse cannot find sdk path properly.
有时很多人会遇到问题来指出确切的 SDK 路径,因此下载了不止一个 SDK 二进制文件。我认为您的日食无法正确找到 sdk 路径。
To find out where the SDK path is, it displays in SDK Manager.
要找出 SDK 路径在哪里,它会显示在 SDK 管理器中。
Then, you can set the path in Eclipse Eclipse->Window->Preferences-> select Android from left hand menu
. Check SDK Location
has same path; see screenshot.
然后,您可以在 Eclipse 中设置路径Eclipse->Window->Preferences-> select Android from left hand menu
。检查SDK Location
具有相同的路径;见截图。
FYI, as downloaded files are just a bunch of binariesused only for Android development, you can copy the whole android-sdk
folder to other place.
仅供参考,由于下载的文件只是一堆仅用于 Android 开发的二进制文件,您可以将整个android-sdk
文件夹复制到其他地方。
I personally recommend to change the directory to C:\Android
or C:\User\<me>\Documents\Android-sdk
as default directory is in C:\Users\<me>\AppData\Local
hidden folder.
我个人建议将目录更改为C:\Android
或C:\User\<me>\Documents\Android-sdk
作为默认目录在C:\Users\<me>\AppData\Local
隐藏文件夹中。
回答by EJK
The ADT bundle includes an Eclipse executable fully configured with the Android SDK tools. It does not add a plugin to an existing Eclipse install. To launch ADT/Eclipse goto . Search for eclipse.exe within that directory. This is the executable you need to launch.
ADT 包包含一个完全配置了 Android SDK 工具的 Eclipse 可执行文件。它不会向现有 Eclipse 安装添加插件。要启动 ADT/Eclipse,请转到 . 在该目录中搜索 eclipse.exe。这是您需要启动的可执行文件。
On my Mac, the Eclipse executable is in /Applications/adt-bundle-mac-x86_64/eclipse/Eclipse.app/Contents/MacOS/eclipse.
Just a guess, but on Windows, the path will probably look something like adt-bundle-windows-x86/eclipse/Eclipse.app/Contents/windows/eclipse.exe
在我的 Mac 上,Eclipse 可执行文件/Applications/adt-bundle-mac-x86_64/eclipse/Eclipse.app/Contents/MacOS/eclipse.
只是一个猜测,但在 Windows 上,路径可能看起来像adt-bundle-windows-x86/eclipse/Eclipse.app/Contents/windows/eclipse.exe
回答by swanand keskar
I would personally suggest to use Android Studio2.1 for easy install of plugins as whenever there is an update to any platform tools or build tools they are readily available and the dependency injection is far better with the build tools such as Gradle which are bundled with the Android Studio . Android Studio
我个人建议使用 Android Studio2.1 来轻松安装插件,因为只要有任何平台工具或构建工具的更新,它们都是现成的,并且依赖注入与构建工具(如 Gradle 捆绑在一起)要好得多。安卓工作室。 安卓工作室
回答by Hitesh Sahu
Android adt is plugin to use Android SDK in Eclipse IDE. You have SDK
you have Eclipse
now you need to install adt plugin in eclipse to use your SDK.
Android adt 是在 Eclipse IDE 中使用 Android SDK 的插件。你有SDK
你Eclipse
,现在你需要安装ADT插件在Eclipse中使用SDK。
You can refer Android developers for plugin installation
插件安装可以参考安卓开发者
https://stuff.mit.edu/afs/sipb/project/android/docs/sdk/installing/installing-adt.html#Download
https://stuff.mit.edu/afs/sipb/project/android/docs/sdk/installing/installing-adt.html#Download
For "I dont see anything in the 'All Programs' I also dont see any plugin" part you will not see any extra program installed in your system as adt is extension of eclipse. When you will have adt in place you should be able to see Android option in eclipse preferences. You should also be see Android APplication option while creating new project.
对于“我在‘所有程序’中没有看到任何内容,我也没有看到任何插件”部分,您将不会看到系统中安装了任何额外的程序,因为 adt 是 eclipse 的扩展。当您安装了 adt 时,您应该能够在 eclipse 首选项中看到 Android 选项。在创建新项目时,您还应该看到 Android 应用程序选项。