[英]android studio when I try add dependency into the project Gradle file I get this error
[英]When I try to build app by Android studio , I get the following error that the Gradle tasks connects timeout
信息:Gradle任務[匯編]錯誤:無法完成Gradle執行。
原因:連接超時:連接
這可能是網絡問題。 嘗試在Gradle CLI上運行此命令:
./gradlew tasks --offline
請參閱文檔 。
要么
轉到設置 >> 構建,執行,部署 >> 構建工具 >> Gradle,然后在“ 離線工作 ”上打勾。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.