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