Android studio “Cannot start internal HTTP server”

前端 未结 4 879
春和景丽
春和景丽 2020-12-10 19:22

I\'am trying to install Android studio, but bad luck..:-(.

  • Windows 7
  • Latest Andriod studio
  • Latest Java
  • Installed the latest Java and
4条回答
  •  独厮守ぢ
    2020-12-10 20:19

    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.

提交回复
热议问题