Skip to content Skip to sidebar Skip to footer

Serious Problems In Configuring Android Sdk With Eclipse

I am having serious problems in Configuring ADT with Eclipse. I am using Windows 7 Home Premium version. The Eclipse (64 bit) that I am using is: Eclipse Classic 3.7.1 Eclipse Jav

Solution 1:

Problem solved after 1.5 days of work. This is how:

When you get the error:

[2012-01-02 14:29:37 - DDMS] DDMS files not found:
C:\My_Workspace\eclipse-SDK-3.7.1-win32-x86_64\eclipse\platform-tools\adb.exeC:\My_Workspace\eclipse-SDK-3.7.1-win32-x86_64\eclipse\tools\hprof-conv.exe C:\My_Workspace\eclipse-SDK-3.7.1-win32-x86_64\eclipse\tools\traceview.bat

[2012-01-02 14:30:47 - DDMS] DDMS files not found:
C:\My_Workspace\Android_SDK\platform-tools\adb.exeC:\My_Workspace\Android_SDK\tools\hprof-conv.exeC:\My_Workspace\Android_SDK\tools\traceview.bat

go to the site: http://developer.android.com/sdk/index.html and download, install; installer_r16-windows.exe

After the installation, you will still see some errors like:

Fetching
https:// dl-ssl.google.com/android/repository/addons_list-1.xml Failed
to fetch URL
https:// dl-ssl.google.com/android/repository/addons_list-1.xml,
reason: peer not authenticated Fetched Add-ons List successfully
Fetching URL:https:// dl-ssl.google.com/android/repository/repository-5.xml Failed
to fetch URL
https:// dl-ssl.google.com/android/repository/repository-5.xml, reason:
peer not authenticated Done loading packages. Fetching URL:https:// dl-ssl.google.com/android/repository/repository-5.xml Failed
to fetch URL
https:// dl-ssl.google.com/android/repository/repository-5.xml, reason:
peer not authenticated

The problem is not so evident from the error messages. We figured that, the HTTPS is actually causing the problem. So, start

Android SDK Manager->Tools->Options and now CHECK the box that says: force https://... sources to be fetched using http://

and then click Packages->Reload.

Everything will be installed as your wish! Now run Eclipse->Window->Preferences->Android and set the location of the newly installed Android SDK (i.e. the location of "android-sdk" folder). And you are ready to go.

1.5 days wasted for this.

Solution 2:

Try installing the Android SDK separately first. Then get Eclipse configured appropriately. You might need to run the SDK installer as an administrator in order to have some permissions set up appropriately.

Solution 3:

Have you tried downloading ad installing the Android SDK manually, then pointing Eclipse to that location? You will need to run "SDK Manager.exe" to download at least one platform...

Also... Make sure you don't have any spaces in the path to the Android SDK and Eclipse or you might get strange errors.

Solution 4:

In the last time I face all the time with such strange errors. The solution in these cases usually is the following.

I guess that you use JDK 7. Android SDK is not compatible with JDK 7. You have to use JDK 6 or JDK 5 (but 5 is too old). Am I right?

Solution 5:

Remember the path where you install the android sdk and provide the correct location at window>preferences>android. On my windows 7 system the location is C:\Program Files (x86)\Android\android-sdk. After you provide location in preferences, click apply.

Post a Comment for "Serious Problems In Configuring Android Sdk With Eclipse"