Gradle gets stuck at either 'build' or 'assembleDebug' when using the 64bit or 32bit version of Android Studio

前端 未结 7 1665
夕颜
夕颜 2021-01-04 06:33

The issue I\'ve had over the past few months is that Android Studio would often get stuck on Gradle: build, as seen here. Android Studio itself would stay respo

7条回答
  •  心在旅途
    2021-01-04 07:09

    If you are behind a proxy on ubunthu you might need to set your gradle system wide proxy:

    sudo nano ~/.gradle/gradle.properties 
    

    And enter the following entries:

    systemProp.http.proxyHost=
    systemProp.http.proxyPort=
    

提交回复
热议问题