Two Laptop Bag*
The moose likes Android and the fly likes New To android Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "New To android" Watch "New To android" New topic
Author

New To android

Bilal A.Siddiqui
Ranch Hand

Joined: Feb 22, 2010
Posts: 31


Hi all


i am trying to install android sdk and i am getting this error

Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: dl-ssl.google.com

i installed the same thing on my friends system but i am unable to do so on mine. Please help

Thanks & Regards
Bilal


Regards
Bilal
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

Is your internet connection working fine?? In the setup window there is an option on the "Settings" screen which says "Force https:// sources to be fetched using http://" check it and then press "Save & Apply", that should do the trick...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Bilal A.Siddiqui
Ranch Hand

Joined: Feb 22, 2010
Posts: 31
Hi ankit

my net connection is working fine, and i have also tried doing forced http but result is the same.


Regards & thanks
Bilal
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41042
    
  43
Works fine for me. What happens if you try to access that URL through a browser?


Ping & DNS - my free Android networking tools app
Bilal A.Siddiqui
Ranch Hand

Joined: Feb 22, 2010
Posts: 31
Hi ulf,

when i accessed this url through browser i got a page full of some information, i am pasting a part of it here


Google APIs 3 Google Inc. 03 Android + Google APIs http://developer.android.com/ 34908058 1f92abf3a76be66ae8032257fc7620acbd2b2e3a google_apis-3-r03.zip com.google.android.maps API for Google Maps. 1.1 2 1 Android SDK Platform 1.1_r1 http://developer.android.com/sdk/android-1.1.html 46828615 a4060f29ed39fc929c302836d488998c53c3002e android-1.1_r1-windows.zip 45584305 e21dbcff45b7356657449ebb3c7e941be2bb5ebe android-1.1_r1-macosx.zip 45476658 c054d25c9b4c6251fa49c2f9c54336998679d3fe android-1.1_r1-linux.zip 1.5 3 03 Android SDK Platform 1.5_r3 http://developer.android.com/sdk/android-1.5.html 54489489 d3cf755695ed7f104d768b3ae9a748ceca5f6c69 android-1.5_r03-windows.zip 53224899 c89f8f85d15ac467c624b05af2237063a69a1633 android-1.5_r03-mac_x86.zip 53137673 e6370835102dd624b49207162a0be02cd3f90091 android-1.5_r03-linux_x86.zip This is the Android Software Development Kit License Agreement. 1. Introduction 1.1 The Android Software Development Kit (referred to in this License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of this License Agreement. This License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK. 1.2 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States. 2. Accepting this License Agreement 2.1 In order to use the SDK, you must first agree to this License Agreement. You may not use the SDK if you do not accept this License Agreement. 2.2 You can accept this License Agreement by: (A) clicking to accept or agree to this License Agreement, where this option is made available to you; or (B) by actually using the SDK. In this case, you agree that use of the SDK constitutes acceptance of the Licensing Agreement from that point onwards. 2.3 You may not use the SDK and may not accept the Licensing Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries including the country in which you are resident or from which you use the SDK. 2.4 If you are agreeing to be bound by this License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to this License Agreement. If you do

Thanks & Regards
Bilal
Piyush Patel
Ranch Hand

Joined: Feb 24, 2009
Posts: 127

its xml file , so you will get horrible result with browser..

i advice you to download ADT Plug in manually from http://developer.android.com/sdk/adt_download.html
Latest Plug in Link ADT ADT-0.9.6.zip
Bilal A.Siddiqui
Ranch Hand

Joined: Feb 22, 2010
Posts: 31
hi piyush

when i try to add plugin to eclipse using ADT manual download i get

An error occurred during provisioning.
Failed to prepare partial IU: [R]com.android.ide.eclipse.adt 0.9.6.v201002051504-24846.
Bilal A.Siddiqui
Ranch Hand

Joined: Feb 22, 2010
Posts: 31
Thanks to all

i have finally implemented it

i added eclipse plugins manually, and i copied sdk which i had downloaded on my friend's system.
Sumit Bisht
Ranch Hand

Joined: Jul 02, 2008
Posts: 329

I was also having the same error when I came across this thread.
Thanks to Bilal, I looked into the xml file & found out :
<sdk:url>android-3.0_r01-linux.zip</sdk:url>
Now manually downloading this after appending it in http://dl-ssl.google.com/android/repository url.
Hopefully, it should work fine within the platforms folder.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: New To android
 
Similar Threads
Looking for some good opensource projects
instanceof issue
Unable to download platforms from SDK manager
adb shell - "error: device not found" or "error: device offline"
Problem with webview