Cause: error in opening zip file (android-studio)

后端 未结 7 1034
旧时难觅i
旧时难觅i 2021-02-04 16:46

When I create a new project I finish the steps and click on \"finish\" and wait for the project to open. But instead I see an error:

7条回答
  •  情书的邮戳
    2021-02-04 17:17

    In my case it caused because of not properly configured HTTP proxy settings. Android Studio created the gradle-1.x-bin.zip file with the HTML error page of my proxy server inside. Obviously it won't be able to open the zip file afterwards.

    The error disappeared once I configured the HTTP proxy settings under File > Settings > HTTP Proxy, deleted the existing archive and restarted Android Studio.

提交回复
热议问题