Android Studio Gradle Build Error: Read Time Out

后端 未结 12 1655
太阳男子
太阳男子 2020-12-03 03:22

I have the latest Android Studio IDE installed on my Windows 10 laptop, and it was working fine until my windows operating system made a huge automatic update.

Now,

相关标签:
12条回答
  • 2020-12-03 03:44

    Simple Answer:

    1. Check the Internet Connection - it should not fluctuate while building the project
    2. File-->>Sync Project with Gradle File
    3. Build>> Clean Project Or Rebuild Project.
    0 讨论(0)
  • 2020-12-03 03:45

    A simple Clean Project + Rebuild Project worked for me

    0 讨论(0)
  • 2020-12-03 03:48

    In my case, it was a firewall issue. After adding Android Studio to its whitelist everything is working fine.

    0 讨论(0)
  • 2020-12-03 03:49

    I have just synced the Project with Gradle files and it worked

    0 讨论(0)
  • 2020-12-03 03:49

    I got around this issue by turning on Offline Mode in the Gradle tool window.

    0 讨论(0)
  • 2020-12-03 03:51

    I resumed working on my project after a long time and I was using an Old version of navigation dependency.

    after updating version to versions.navigation = "2.3.0" from versions.navigation = "2.3.0-aplha01" my issue was resolved.

    so in short make sure you are using latest version of gradle and all libraries (compatible with your gradle version).

    0 讨论(0)
提交回复
热议问题