How Can I Solve Android Studio Error: Read Time Out? The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceAndroid Studio Gradle Build Error: Read Time OutGradle Sync Failed: Read Timed OutWhy is the Android emulator so slow? How can we speed up the Android emulator?What is Gradle in Android Studio?Rename package in Android StudioWhere do I place the 'assets' folder in Android Studio?Android Studio 3.0: Gradle project refresh failedConnection refused : While gradle sync in Android StudioClassFormatError - Android Studio Quick FixI can't create any type of file

Drawing vertical/oblique lines in Metrical tree (tikz-qtree, tipa)

Is there a way to generate uniformly distributed points on a sphere from a fixed amount of random real numbers per point?

How did the crowd guess the pentatonic scale in Bobby McFerrin's presentation?

Presidential Pardon

Does Parliament need to approve the new Brexit delay to 31 October 2019?

Button changing its text & action. Good or terrible?

For what reasons would an animal species NOT cross a *horizontal* land bridge?

What can I do to 'burn' a journal?

Is this wall load bearing? Blueprints and photos attached

Example of compact Riemannian manifold with only one geodesic.

One-dimensional Japanese puzzle

ELI5: Why do they say that Israel would have been the fourth country to land a spacecraft on the Moon and why do they call it low cost?

Can a flute soloist sit?

Homework question about an engine pulling a train

Windows 10: How to Lock (not sleep) laptop on lid close?

Why not take a picture of a closer black hole?

What's the point in a preamp?

Is every episode of "Where are my Pants?" identical?

Why can't devices on different VLANs, but on the same subnet, communicate?

Keeping a retro style to sci-fi spaceships?

Didn't get enough time to take a Coding Test - what to do now?

Mortgage adviser recommends a longer term than necessary combined with overpayments

What force causes entropy to increase?

What was the last x86 CPU that did not have the x87 floating-point unit built in?



How Can I Solve Android Studio Error: Read Time Out?



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
The Ask Question Wizard is Live!
Data science time! April 2019 and salary with experienceAndroid Studio Gradle Build Error: Read Time OutGradle Sync Failed: Read Timed OutWhy is the Android emulator so slow? How can we speed up the Android emulator?What is Gradle in Android Studio?Rename package in Android StudioWhere do I place the 'assets' folder in Android Studio?Android Studio 3.0: Gradle project refresh failedConnection refused : While gradle sync in Android StudioClassFormatError - Android Studio Quick FixI can't create any type of file



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








-1















When I open an existing Android Studio project (which is cloned from someone else), the building for sync project takes a long time and failed every time.



And the prompt message is ERROR: Read time out.



enter image description here
I am from a place where the network is not free, however, I am sure that I successfully set up the proxy in Android Studio, which helps me build a new project and use Google's services successfully many a time.



However, what should I do when opening an existing project? Thanks a lot.




Other potentially useful information:



Android Studio 3.3.1

Build #AI-182.5107.16.33.5264788, built on January 29, 2019

JRE: 1.8.0_152-release-1248-b01 amd64

JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

Linux 4.15.0-45-generic









share|improve this question



















  • 1





    this may help

    – Tamir Abutbul
    Mar 8 at 12:24











  • I have read this article, but I feel that my problems is different from that, so that still don't know how to do it. However, thanks for your reply.

    – Graycat
    Mar 8 at 12:48

















-1















When I open an existing Android Studio project (which is cloned from someone else), the building for sync project takes a long time and failed every time.



And the prompt message is ERROR: Read time out.



enter image description here
I am from a place where the network is not free, however, I am sure that I successfully set up the proxy in Android Studio, which helps me build a new project and use Google's services successfully many a time.



However, what should I do when opening an existing project? Thanks a lot.




Other potentially useful information:



Android Studio 3.3.1

Build #AI-182.5107.16.33.5264788, built on January 29, 2019

JRE: 1.8.0_152-release-1248-b01 amd64

JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

Linux 4.15.0-45-generic









share|improve this question



















  • 1





    this may help

    – Tamir Abutbul
    Mar 8 at 12:24











  • I have read this article, but I feel that my problems is different from that, so that still don't know how to do it. However, thanks for your reply.

    – Graycat
    Mar 8 at 12:48













-1












-1








-1


1






When I open an existing Android Studio project (which is cloned from someone else), the building for sync project takes a long time and failed every time.



And the prompt message is ERROR: Read time out.



enter image description here
I am from a place where the network is not free, however, I am sure that I successfully set up the proxy in Android Studio, which helps me build a new project and use Google's services successfully many a time.



However, what should I do when opening an existing project? Thanks a lot.




Other potentially useful information:



Android Studio 3.3.1

Build #AI-182.5107.16.33.5264788, built on January 29, 2019

JRE: 1.8.0_152-release-1248-b01 amd64

JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

Linux 4.15.0-45-generic









share|improve this question
















When I open an existing Android Studio project (which is cloned from someone else), the building for sync project takes a long time and failed every time.



And the prompt message is ERROR: Read time out.



enter image description here
I am from a place where the network is not free, however, I am sure that I successfully set up the proxy in Android Studio, which helps me build a new project and use Google's services successfully many a time.



However, what should I do when opening an existing project? Thanks a lot.




Other potentially useful information:



Android Studio 3.3.1

Build #AI-182.5107.16.33.5264788, built on January 29, 2019

JRE: 1.8.0_152-release-1248-b01 amd64

JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

Linux 4.15.0-45-generic






android android-studio






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 8 at 12:43









Faysal Ahmed

4,36451535




4,36451535










asked Mar 8 at 12:16









GraycatGraycat

1




1







  • 1





    this may help

    – Tamir Abutbul
    Mar 8 at 12:24











  • I have read this article, but I feel that my problems is different from that, so that still don't know how to do it. However, thanks for your reply.

    – Graycat
    Mar 8 at 12:48












  • 1





    this may help

    – Tamir Abutbul
    Mar 8 at 12:24











  • I have read this article, but I feel that my problems is different from that, so that still don't know how to do it. However, thanks for your reply.

    – Graycat
    Mar 8 at 12:48







1




1





this may help

– Tamir Abutbul
Mar 8 at 12:24





this may help

– Tamir Abutbul
Mar 8 at 12:24













I have read this article, but I feel that my problems is different from that, so that still don't know how to do it. However, thanks for your reply.

– Graycat
Mar 8 at 12:48





I have read this article, but I feel that my problems is different from that, so that still don't know how to do it. However, thanks for your reply.

– Graycat
Mar 8 at 12:48












3 Answers
3






active

oldest

votes


















0














I had similar problem before. Downloading dependencies failure is the reason. Maybe the problem lies in your network connection. Android studio's log may help you to locate which dependency can't not be reached.






share|improve this answer






























    0














    If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.






    share|improve this answer






























      0














      Thanks to everyone who re-edited for my question or reply to me.
      According to your answer, I know that both Android Studio and Gradle need setting proxy. Below is my solution.




        1. Make sure the proxy setting for Android Studio is OK.


      Select in Android Studio: File -> Settings -> Appearance & Behavior -> System Settings -> HTTP Proxy. And setting right proxy.



        1. Add proxy setting for your gradle.properties file, and you can find it easily.


      Project/
      ├── app
      ├── build.gradle
      ├── gradle
      |
      ├── gradle.properties
      |
      ├── gradlew
      ├── gradlew.bat
      ├── local.properties
      ├── Messages.iml
      └── settings.gradle


      Add the following code to the gradle.properties file.



      systemProp.http.proxyHost=127.0.0.1
      systemProp.http.proxyPort=XXXX
      systemProp.socks.proxyHost=127.0.0.1
      systemProp.socks.proxyPort=XXXX


        1. Try to sync project again.


      Select in Android Studio: File -> Sync Project with Gragle Files




      I don't know if the above method is good, but it works to me. I hope it works to you, too. Thanks again.






      share|improve this answer























        Your Answer






        StackExchange.ifUsing("editor", function ()
        StackExchange.using("externalEditor", function ()
        StackExchange.using("snippets", function ()
        StackExchange.snippets.init();
        );
        );
        , "code-snippets");

        StackExchange.ready(function()
        var channelOptions =
        tags: "".split(" "),
        id: "1"
        ;
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function()
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled)
        StackExchange.using("snippets", function()
        createEditor();
        );

        else
        createEditor();

        );

        function createEditor()
        StackExchange.prepareEditor(
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader:
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        ,
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        );



        );













        draft saved

        draft discarded


















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55063066%2fhow-can-i-solve-android-studio-error-read-time-out%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        0














        I had similar problem before. Downloading dependencies failure is the reason. Maybe the problem lies in your network connection. Android studio's log may help you to locate which dependency can't not be reached.






        share|improve this answer



























          0














          I had similar problem before. Downloading dependencies failure is the reason. Maybe the problem lies in your network connection. Android studio's log may help you to locate which dependency can't not be reached.






          share|improve this answer

























            0












            0








            0







            I had similar problem before. Downloading dependencies failure is the reason. Maybe the problem lies in your network connection. Android studio's log may help you to locate which dependency can't not be reached.






            share|improve this answer













            I had similar problem before. Downloading dependencies failure is the reason. Maybe the problem lies in your network connection. Android studio's log may help you to locate which dependency can't not be reached.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 8 at 13:05









            Young louisYoung louis

            112




            112























                0














                If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.






                share|improve this answer



























                  0














                  If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.






                  share|improve this answer

























                    0












                    0








                    0







                    If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.






                    share|improve this answer













                    If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Mar 8 at 13:12









                    Shahzaib MazariShahzaib Mazari

                    656




                    656





















                        0














                        Thanks to everyone who re-edited for my question or reply to me.
                        According to your answer, I know that both Android Studio and Gradle need setting proxy. Below is my solution.




                          1. Make sure the proxy setting for Android Studio is OK.


                        Select in Android Studio: File -> Settings -> Appearance & Behavior -> System Settings -> HTTP Proxy. And setting right proxy.



                          1. Add proxy setting for your gradle.properties file, and you can find it easily.


                        Project/
                        ├── app
                        ├── build.gradle
                        ├── gradle
                        |
                        ├── gradle.properties
                        |
                        ├── gradlew
                        ├── gradlew.bat
                        ├── local.properties
                        ├── Messages.iml
                        └── settings.gradle


                        Add the following code to the gradle.properties file.



                        systemProp.http.proxyHost=127.0.0.1
                        systemProp.http.proxyPort=XXXX
                        systemProp.socks.proxyHost=127.0.0.1
                        systemProp.socks.proxyPort=XXXX


                          1. Try to sync project again.


                        Select in Android Studio: File -> Sync Project with Gragle Files




                        I don't know if the above method is good, but it works to me. I hope it works to you, too. Thanks again.






                        share|improve this answer



























                          0














                          Thanks to everyone who re-edited for my question or reply to me.
                          According to your answer, I know that both Android Studio and Gradle need setting proxy. Below is my solution.




                            1. Make sure the proxy setting for Android Studio is OK.


                          Select in Android Studio: File -> Settings -> Appearance & Behavior -> System Settings -> HTTP Proxy. And setting right proxy.



                            1. Add proxy setting for your gradle.properties file, and you can find it easily.


                          Project/
                          ├── app
                          ├── build.gradle
                          ├── gradle
                          |
                          ├── gradle.properties
                          |
                          ├── gradlew
                          ├── gradlew.bat
                          ├── local.properties
                          ├── Messages.iml
                          └── settings.gradle


                          Add the following code to the gradle.properties file.



                          systemProp.http.proxyHost=127.0.0.1
                          systemProp.http.proxyPort=XXXX
                          systemProp.socks.proxyHost=127.0.0.1
                          systemProp.socks.proxyPort=XXXX


                            1. Try to sync project again.


                          Select in Android Studio: File -> Sync Project with Gragle Files




                          I don't know if the above method is good, but it works to me. I hope it works to you, too. Thanks again.






                          share|improve this answer

























                            0












                            0








                            0







                            Thanks to everyone who re-edited for my question or reply to me.
                            According to your answer, I know that both Android Studio and Gradle need setting proxy. Below is my solution.




                              1. Make sure the proxy setting for Android Studio is OK.


                            Select in Android Studio: File -> Settings -> Appearance & Behavior -> System Settings -> HTTP Proxy. And setting right proxy.



                              1. Add proxy setting for your gradle.properties file, and you can find it easily.


                            Project/
                            ├── app
                            ├── build.gradle
                            ├── gradle
                            |
                            ├── gradle.properties
                            |
                            ├── gradlew
                            ├── gradlew.bat
                            ├── local.properties
                            ├── Messages.iml
                            └── settings.gradle


                            Add the following code to the gradle.properties file.



                            systemProp.http.proxyHost=127.0.0.1
                            systemProp.http.proxyPort=XXXX
                            systemProp.socks.proxyHost=127.0.0.1
                            systemProp.socks.proxyPort=XXXX


                              1. Try to sync project again.


                            Select in Android Studio: File -> Sync Project with Gragle Files




                            I don't know if the above method is good, but it works to me. I hope it works to you, too. Thanks again.






                            share|improve this answer













                            Thanks to everyone who re-edited for my question or reply to me.
                            According to your answer, I know that both Android Studio and Gradle need setting proxy. Below is my solution.




                              1. Make sure the proxy setting for Android Studio is OK.


                            Select in Android Studio: File -> Settings -> Appearance & Behavior -> System Settings -> HTTP Proxy. And setting right proxy.



                              1. Add proxy setting for your gradle.properties file, and you can find it easily.


                            Project/
                            ├── app
                            ├── build.gradle
                            ├── gradle
                            |
                            ├── gradle.properties
                            |
                            ├── gradlew
                            ├── gradlew.bat
                            ├── local.properties
                            ├── Messages.iml
                            └── settings.gradle


                            Add the following code to the gradle.properties file.



                            systemProp.http.proxyHost=127.0.0.1
                            systemProp.http.proxyPort=XXXX
                            systemProp.socks.proxyHost=127.0.0.1
                            systemProp.socks.proxyPort=XXXX


                              1. Try to sync project again.


                            Select in Android Studio: File -> Sync Project with Gragle Files




                            I don't know if the above method is good, but it works to me. I hope it works to you, too. Thanks again.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Mar 8 at 14:39









                            GraycatGraycat

                            1




                            1



























                                draft saved

                                draft discarded
















































                                Thanks for contributing an answer to Stack Overflow!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid


                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.

                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function ()
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55063066%2fhow-can-i-solve-android-studio-error-read-time-out%23new-answer', 'question_page');

                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown