English 中文(简体)
Can t 发现SDK和AVD管理员
原标题:Can t find SDK and AVD Manager

This is my first step in the direction of android development so apologise for any silly question.

我使用窗户安装机安装了Andan SDK管理人。 邮政安装是我起步的菜单。

https://i.stack.imgur.com/wNTnH.png” alt=“Start Menu”/>

而这正是SDK管理人员如何看待:

“SDK

When I try to use Eclipse pluggin, I get the following error.

[2012-01-13 16:29:10 - DDMS] DDMS file not found: C:Program filesAndroidandroid-sdkplatform-toolsadb.exe

因此,我认为也许我应该更新SDK经理,但SDK主管的更新根本没有。

我通过论坛和文件搜索。 人们经常说,我应当使用SDK和AVD管理人。 我只能用这个名称找到任何工具。 这是否是一种适当的安装? 我可以找到一名SDK经理和一位精良的DVD管理员,并看像论坛/文件所见的屏幕。 Maybe 我使用了错误的版本! 我从


UPDATE 1: 13 Jan 2012

Here is something more I figured. When I try to update using my SDK manager, this is what I see in the log:

Fetching http://dl-ssl.google.com/android/repository/addons_list-1.xml
Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connection to http://dl-ssl.google.com refused
Fetched Add-ons List successfully
Fetching URL: http://dl-ssl.google.com/android/repository/repository-5.xml
Failed to fetch URL http://dl-ssl.google.com/android/repository/repository-5.xml, reason: Connection to http://dl-ssl.google.com refused
Fetching URL: http://dl-ssl.google.com/android/repository/addon.xml
Failed to fetch URL http://dl-ssl.google.com/android/repository/addon.xml, reason: Connection to http://dl-ssl.google.com refused
Fetching URL: http://dl-ssl.google.com/android/repository/addon.xml

由于某种原因,与。 遭到拒绝,可能是因为我无法更新任何内容。


UPDATE 2: 16 January 2012

Okay I haven t got any response, I am going to write down everything I am doing before I forget. Maybe it will be useful for someone else...

我在把环境与安伯混为一谈时正面临许多问题。 迄今为止,我已经对几个问题进行了分类。 Maybe 不久,我会把其他人划出来!

Environment Used: Windows XP 32 bit Eclipse Helios

Problem 1: Could not find SDK and AVD Manager component after installing Android SDK.

Solution to Problem 1 Although there is no proper documentation, it took a while for me to understand that the latest version of Android SDK has seperated SDK from AVD Management. So once you install Android SDK, expect to see two components - 1) SDK Manager, 2) AVD Manager. I am not sure what sort of features have changed from previous version, but if you are into android development for the first time, this change could drive you nuts as all documents speak based on the previous versions - bad GOOGLE!

Problem 2 During installation of SDK, the .exe for windows is unable to detect JDK.

Solution to Problem 2 Again, older documents and forum posts seem to say that hitting the back and then hitting next once again should solve the problem. Not so with the latest version. Google has come up with a funny work around to beat this defect. Now you have a small button called "Report Error". Click that and the next button will be enabled. This should let you proceed with the installation

Problem 3: Installing the Eclipse ADT plugin causes the following error

Cannot complete the install because of a conflicting dependency.
  Software being installed: Android Hierarchy Viewer 16.0.1.v201112150204-238534 (com.android.ide.eclipse.hierarchyviewer.feature.group 16.0.1.v201112150204-238534)
  Software currently installed: Eclipse IDE for Java EE Developers 1.3.0.20100617-0521 (epp.package.jee 1.3.0.20100617-0521)
  Only one of the following can be installed at once: 
    Eclipse UI 3.6.1.M20100826-1330 (org.eclipse.ui 3.6.1.M20100826-1330)
    Eclipse UI 3.6.2.M20110203-1100 (org.eclipse.ui 3.6.2.M20110203-1100)
    Eclipse UI 3.6.0.I20100603-1100 (org.eclipse.ui 3.6.0.I20100603-1100)
  Cannot satisfy dependency:
    From: Android Hierarchy Viewer 16.0.1.v201112150204-238534 (com.android.ide.eclipse.hierarchyviewer.feature.group 16.0.1.v201112150204-238534)
    To: org.eclipse.ui 3.6.2
  Cannot satisfy dependency:
    From: Eclipse IDE for Java EE Developers 1.3.0.20100617-0521 (epp.package.jee 1.3.0.20100617-0521)
    To: org.eclipse.epp.package.jee.feature.feature.group [1.3.0.20100617-0521]
  Cannot satisfy dependency:
    From: Java EE IDE Feature 1.3.0.20100617-0521 (org.eclipse.epp.package.jee.feature.feature.group 1.3.0.20100617-0521)
    To: org.eclipse.platform.feature.group [3.6.0.v20100602-9gF78GpqFt6trOGhL60z0oEx3fz-JKNwxPY]
  Cannot satisfy dependency:
    From: Eclipse Platform 3.6.0.v20100602-9gF78GpqFt6trOGhL60z0oEx3fz-JKNwxPY (org.eclipse.platform.feature.group 3.6.0.v20100602-9gF78GpqFt6trOGhL60z0oEx3fz-JKNwxPY)
    To: org.eclipse.rcp.feature.group [3.6.0.v20100519-9OArFKvFtsd7WLUKh-DcYTS]
  Cannot satisfy dependency:
    From: Eclipse RCP 3.6.0.v20100519-9OArFKvFtsd7WLUKh-DcYTS (org.eclipse.rcp.feature.group 3.6.0.v20100519-9OArFKvFtsd7WLUKh-DcYTS)
    To: org.eclipse.ui [3.6.0.I20100603-1100]

Solution to Problem 3 This is caused because Eclipse IDE for Java EE Developers is an older version. So in Eclipse, go to Help >> Update Softwares. This would list the latest Eclipse IDE for Java EE Developer. Install it. Then repeat the steps to install Android ADT pluggin. This solved the problem for me.

Problem 4: When you open eclipse after installing the ADT pluggin, the following error appears: [2012-01-16 16:00:10 - DDMS] DDMS files not found: C:Program FilesAndroidandroid-sdkplatform-toolsadb.exe

Solution for Problem 4: This issue has been fixed with the help extended by Nandeesh (see below comments). I download the platform-tools directory from the following location (http://dl-ssl.google.com/android/repository/platform-tools_r10-windows.zip) and unzipped it under platform-tools directory in my installation directory. This removed the error from Eclipse ADT.

Problem 5: Following error occurs when I refresh using SDK manager

Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connection to http://dl-ssl.google.com refused

Partial solution to Problem 5: I am stuck with this problem and I haven t found a solution so far. Here is what I have learnt.

All the post on this error claim that this has to do with proxy settings. This is what I did: I found out my proxy setting by going to my Internet Explorer >> Internet Options >> Connections >> Lan Settings. Copied the proxy details and set it up in Eclipse >> Windows >> Preferences >> General >> Network Connections. After this I went to SDK manager >> Tools >> Options and entered proxy details in the HTTP Proxy server Box and checked the force https option. Tried refreshing - no luck. Then getting desperate, I have tried all combinations of Proxy and force https. Nothing seems to work. So, as per suggestion made by Nandeesh (refer comments below), I have started downloading the files directly based on the repository.xml found here ssl.google.com/android/repository/repository-5.xml. So far so good.

Problem 6: Unable to detect target SDK in eclipse ADT

Solution for Problem 6: This is what I did. Downloaded the latest Eclipse. I now use Eclipse Indigo. Then I checked the directory structure of the SDK installed. I installed it under C:/Android/android-sdk. Avoid any spaces in the file path (that could be causing the issue). The Android/android-sdk directory should contain the following directories - platforms, platform-tools, tools, add-ons. Inside the platforms directory I see android-4.0.3 directory. This directory should have the version number as part of the directory name. If you don t see this directory, download the suitable platform from https://dl-ssl.google.com/android/repository/. The version you should be using depends on your environment. The list of all directory is available in this XML http://dl-ssl.google.com/android/repository/repository-5.xml. Download the corresponding platform an unzip the entire contents into C:/Android/android-sdk/platforms. Also download the corresponding platform-tools and unzip the entire contents into platform-tools directory. Restart eclipse. The SDK should be automatically detected. If not, go to Windows >> Preference >> Android and set the SDK installation directory. Hit apply and it should list the available targets. NOTE that the targets will be list if and only if the SDK installation is correct. So ensure that the platforms directory inside the SDK installation is correct.

Problem 7 I am seeing this when I open eclipse enter image description here

No idea what went wrong. Again suspecting that this is because I manually copied the files :(

Solution to Problem 7: Read solution to Problem 6. This would solve problem 7 also. The only thing that is important is that make sure your SDK is installed properly. If not manually copy the appropriate platforms and platform-tools and try once again. Ensure the structure of the files are proper and that files names do not have a space.

在做了这一切之后,我现在可以说,我已经建立了我的环境,现在我准备说! 问题在于:

最佳回答

May or may not still be an issue - but I was unable to use a path with a space in the name ("Program Files" was the culprit). I believe this is fixed in the current release, but it is worth a try to fix your problem.

问题回答

问题 4: 当你在安装自动取款机后打开单lip时,出现以下错误:[2012-01-16 16:00:10 - DDMS] DDMS文档没有找到:C:Program 文件:Androidandroid-sdkplatform-toolsadb.exe

Solution:

I had the same problem with my eclipse Juno. then i found that the platform-tools got corrupted. i deleted the corrupted file from sdk manager and re-installed it. Now i dint find any error messages.

希望这将有助于你们!

www.un.org/Depts/DGACM/index_russian.htm

The problem is your network ofcourse. Use a moderm instead of a LAN and this will work perfectly. But if you are using a LAN then ask your network administrator to help you with this.





相关问题
In Eclipse, why doesn t "Show In" appear for non-Java files?

If I have a *java file open, I can right click on the source, scroll down to "Show In (Alt-Shift-W)", and select Navigator. If I have an *xml, *jsp, or pretty much anything besides a Java source ...

Eclipse: Hover broken in debug perspective

Since upgrading Eclipse (Galileo build 20090920-1017), hover in debug no longer displays a variable s value. Instead, hover behaves as if I were in normal Java perspective: alt text http://...

Eclipse smart quotes - like in Textmate

Happy Friday — Does anyone know if eclipse has the notion of smart quotes like Textmate. The way it works is to select some words and quote them by simply hitting the " key? I m a newbie here so be ...

Indentation guide for the eclipse editor

Is there a setting or plugin for eclipse that can show indentation guides in the editor? Something like the Codekana plugin for visual studio (not so fancy is also OK). Important that it works with ...

Adding jar from Eclipse plugin runtime tab

I want to add .jar files for plugin from the Runtime tab of manifest file. When I use the Add... button, I can see only sub-directories of the plugin project. So if I want to add same .jar file to ...

How to copy multiple projects into single folder in eclipse

I have two projects, Project1 and Project2. Now i want to copy this projects into eclipse workspace but i want these projects to be in a single folder like below. Eclipse Workspace -> Project -> ...

Java: Finding out what is using all the memory

I have a java application that runs out of memory, but I have no idea which code is allocating the memory. Is there an application with which I can check this? I use Eclipse.

热门标签