Android SDK Setup Problems - android

Im new to android and am just trying to install the SDK. I have everything else done. When i run the SDK Setup.exe (ive added the ./tools to the path already.) It gives me the famous cannot fetch URL error.
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: Permission denied: connect
I tried the force http option and also manually adding a http:// version of the above url. It does not work at all. I am working on a windows 7 64 bit pc. Any help would be appreciated.
Ramesh

Maybe your firewall is blocking tcp/udp connection from Java.exe process?

Try running from the command prompt.
tools\android.bat update sdk
it launches the sdk which works.
Thanks,
Ramesh

Related

Unable to install Eclipse plugin - ADT

I am currently running a 32bit vista and installed the latest version of the sdk from developer.android.com.
The problem is that when I try to install the plugin it gives me this error message:
Unable to read repository at https://dl-ssl.google.com/android/eclipse/content.xml.
Unable to read repository at https://dl-ssl.google.com/android/eclipse/content.xml.
Permission denied: connect
This happens for every link, even if you type in something like google.com. I tried doing http instead of https but to no avail.
If you need more information just say so below in the comments. Thanks for your time
I got it. I just needed to disable the firewall. That's it.

Android studio "Cannot start internal HTTP server"

I'am trying to install Android studio, but bad luck..:-(.
Windows 7
Latest Andriod studio
Latest Java
Installed the latest Java and also added it to the system settings according to http://www.youtube.com/watch?v=TTrUX1kUpDo
Also downloaded Gradle and updated the system settings
Stopped all firewall actions
So far so good, Android studio is also starting without any problems. But then I get two messages:
Internal HTTP server disabled: Cannot start internal HTTP server. Git integration, JavaScript debugger and LiveEdit may operate with errors. Please check your firewall settings and restart Android Studio
Gradle 'Nieuwproject' project refresh failed: Connection refused: connect
So after a few days of trying I was hoping that somebody could help me out..:-)
Here's what worked for me - I got the same error:
Internal HTTP server disabled: Cannot start internal HTTP server. Git integration, JavaScript debugger and LiveEdit may operate with errors. Please check your firewall settings and restart Android Studio
Run command prompt as administrator - type cmd in the 'search programs and files' text box in the Windows Start menu; right-click and select 'Run as administrator'.
At the command prompt, type
netsh winsock reset
Restart your PC
This worked for me.
Just to mention: I also added Android Studio and Gradle folders to my virus protection exceptions in case it was being blocked, but that didn't resolve the problem; the problem was only resolved once I followed the steps above.
Turn OFF firewall then turn ON again.
Sometimes firewall blocks it automatically when you start your PC. It also blocks to internet browsing for other reason but restarting firewall may solve this problem.
I encountered this problem after uninstalling Avast from my Computer,few days later i installed Avast again and the problem went away,Dont know what the connection is but thats what solved my problem
if Shell&ServicesEngine is installed on your computer, uninstall it and restart the Android Studio.

failed to rename directory eclipse in mac

I am in trouble while downloading sdk s in eclipse . I am using mac . When I try installing or updating sdks , I got an error such that /Users/psyfk/android-sdks/extras/android/support to /Users/psyfk/android-sdks/temp/ExtraPackage.old01. Even though I gave permission to android-sdks file , I got this error . How can I fix that ?
Quick Thought:
Is your request going through Proxy Server? I faced similar problem in windows 7. I tried at home (outside proxy network) and it work like a charm. If you are under proxy then try checking in home network which doesn't go through
You can also setup the proxy in the adp and see whether it works.

Android ADT and SDK Installation

Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: Connection timed out: connect
I've encountered above error when I install SDK revision10 and ADT10 on eclipse galileo.
I used older version lately and it worked well.
But now I can't even install SDK.
What do I do?
Please reply me ASAP.
Best Regards,
Try using http rather than https

Android SDK beginner question

I'm a n00b developer at my second attempt to use the Android SDK. I'm
developing on the Mac platform and I've noticed that the latest
version of the SDK doesn't include anything except the tools (so I
have no plugins, no targets to choose from inside the package I
downloaded).
So I tried to use the Android SDK and AVD Manager to download and
install some, however, I got this error:
Failed to fetch URL https://dl-ssl.google.com/android/repository/
I went to the settings and checked the box to force fetching via HTTP,
but no result. I was suggested to look for a configuration file, but
couldn't find any.
Any suggestions? I'm dying to get my hands dirty with the SDK.
Whenever I've seen that error, I've just retried the download several times and eventually it went through. I've only run into it when I was behind a proxy, but that might not be your problem.
Here you have a Android tutorial, step by step.
http://www.vogella.de/articles/Android/article.html
Its means that you are behind a proxy.Go tools->options in your android SDK manager and enter your http Proxy server and port and it'll work.

Categories

Resources