Android Eclipse ADT 包无法正常工作
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/24466609/
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
Eclipse ADT Bundle Not Working Properly
提问by Jumpa
I've just downloaded the Eclipse ADT Bundle from official site: http://developer.android.com/sdk/index.html(specifically adt-bundle-windows-x86_64-20140624.zip). I'm on Win 7 64 bit, I've MD5 match for the zip file, but Juno fails to load correctly (I'm running eclipse.exe with admin rights): no ADT plugin, no application title (generic Resource -), no SDK manager link, ecc.ecc. My workspace folder is totally clean under c:/dev/android, I've latest 64-bit JDK installed (version 8 update 5). I've also tried another pc with windows 8, with no luck. What's wrong here?
我刚刚从官方网站下载了 Eclipse ADT Bundle:http: //developer.android.com/sdk/index.html(特别是 adt-bundle-windows-x86_64-20140624.zip)。我使用的是 Win 7 64 位,我对 zip 文件进行了 MD5 匹配,但是 Juno 无法正确加载(我正在使用管理员权限运行 eclipse.exe):没有 ADT 插件,没有应用程序标题(通用资源 -) ,无SDK管理器链接,ecc.ecc。我的工作区文件夹在 c:/dev/android 下完全干净,我安装了最新的 64 位 JDK(版本 8 更新 5)。我也试过另一台装有 Windows 8 的电脑,但没有成功。这里有什么问题?
回答by AndroidUser
You can download the entire adt-bundle from:
您可以从以下位置下载整个 adt-bundle:
http://dl.google.com/android/adt/22.6.2/adt-bundle-linux-x86_64-20140321.zip
http://dl.google.com/android/adt/22.6.2/adt-bundle-linux-x86_64-20140321.zip
I completely removed the 20140624 bundle. I also renamed ~/.android to ~/.android.bak. Then I unzipped this previous 22.6.2 version and it ran fine. When you run the SDK Manager, do not update the first two items to v23, keep everything at this version.
我完全删除了 20140624 包。我还将 ~/.android 重命名为 ~/.android.bak。然后我解压了这个以前的 22.6.2 版本,它运行良好。运行 SDK Manager 时,不要将前两项更新到 v23,所有内容都保持在这个版本。
回答by Rimplot
It seems to be a bug, Android developers recommend to use the latest stable 22.6.2 version(20140321), which you can download from this link as AndroidUsersaid, but this is the Windows version for a 64-bit operating system:
看来是bug了,Android开发者推荐使用最新的22.6.2稳定版(20140321),你可以从这个链接下载AndroidUser说的,但这是64位操作系统的Windows版本:
https://dl.google.com/android/adt/22.6.2/adt-bundle-windows-x86_64-20140321.zip
https://dl.google.com/android/adt/22.6.2/adt-bundle-windows-x86_64-20140321.zip
If you delete all files of that bad new version and replace it with these, you will get backthe friendly-looking Eclipse-based and workingADT.
如果您删除那个糟糕的新版本的所有文件并将其替换为这些文件,您将重新获得基于 Eclipse 的友好且有效的ADT。
回答by AWolf
I have also troubles with installing the latest ADT bundle for Win7 64bit (the mentioned version by Jumpa). I've tried it several days to get it working but for me there's now fix for the bundle.
我在为 Win7 64 位(Jumpa 提到的版本)安装最新的 ADT 包时也遇到了麻烦。我已经尝试了几天才能让它工作,但对我来说现在已经修复了这个包。
Also using a previous version of the ADT bundle was with-out success because it stops working very quickly. It requires to update to v23 and that update was not working.
使用 ADT 包的早期版本也没有成功,因为它很快就会停止工作。它需要更新到 v23 并且该更新不起作用。
I have the following "workaround" (install everything maunally until google fixed the adt bundle
):
我有以下“解决方法”(install everything maunally until google fixed the adt bundle
):
- Download the Android SDK and update everything (http://dl.google.com/android/installer_r23-windows.exe)
- Download Eclipse Indigo (I've installed the Java EE IDE version) (https://www.eclipse.org/downloads/packages/release/Indigo/SR2)
- Add the ADT Plugin to Eclipse and download it. (http://developer.android.com/sdk/installing/installing-adt.html)
- 下载 Android SDK 并更新所有内容 ( http://dl.google.com/android/installer_r23-windows.exe)
- 下载 Eclipse Indigo(我已经安装了 Java EE IDE 版本)(https://www.eclipse.org/downloads/packages/release/Indigo/SR2)
- 将 ADT 插件添加到 Eclipse 并下载它。( http://developer.android.com/sdk/installing/installing-adt.html)
Now it looks like everything is working.
现在看起来一切正常。
I'm new to Android devel and I'm doing a "HelloWorld" app and creating a new activity with the wizard failed with the adt bundle. Nothing was created but now with the manual installation everything is created (created resource & added the activity to the manifest).
我是 Android 开发新手,我正在做一个“HelloWorld”应用程序并使用向导创建一个新活动,但使用 adt 包失败。什么都没有创建,但现在通过手动安装,一切都被创建了(创建资源并将活动添加到清单中)。
回答by Rohit b
Hi there are some changes with the android studio (SDK & ADT Bundle)
嗨,android studio (SDK & ADT Bundle) 有一些变化
i have been looking for adb and did not find the adt bundle but figured how to get it from the following steps :)
我一直在寻找 adb 并没有找到 adt 包,但想出了如何从以下步骤中获取它:)
Do the following: 1. if you want android studio download it http://developer.android.com/sdk/index.html2. To get the SDK bundle http://developer.android.com/sdk/index.html#Other
执行以下操作: 1. 如果你想要 android studio 下载它 http://developer.android.com/sdk/index.html2. 获取 SDK 包 http://developer.android.com/sdk/index.html #其他
The next Step is download the zip or rar file and extract it to your Local Drive then use the SDK Manager to install the files manually
下一步是下载 zip 或 rar 文件并将其解压缩到本地驱动器,然后使用 SDK Manager 手动安装文件