Serious problems in Configuring Android SDK with Eclipse

后端 未结 6 1735
感动是毒
感动是毒 2021-01-13 01:33

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:

Ecl         


        
6条回答
  •  情话喂你
    2021-01-13 02:16

    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.exe
    C:\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.exe
    C:\My_Workspace\Android_SDK\tools\hprof-conv.exe
    C:\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.

提交回复
热议问题