方式一
View > Tool Windows > Gradle from the menu bar. Then, near the top of the Gradle window, click Toggle Offline Mode
方式二
直接打開Gradle視圖,點(diǎn)擊對應(yīng)按鈕即可,如下圖所示:
image
View > Tool Windows > Gradle from the menu bar. Then, near the top of the Gradle window, click Toggle Offline Mode
直接打開Gradle視圖,點(diǎn)擊對應(yīng)按鈕即可,如下圖所示: