I got this error while trying to build the project. The error message shows the it is caused by the dependent file is not cached. I am wondering how to open download mode rather than offline.
I did many searches, most suggestions are to edit the option on Gradle Setting in Android studio. However, the IntelliJ doesn't have this option...
Gradle offline mode in IntelliJ IDEA and Android Studio can be toggled via the following toolbar icon in the Gradle tool window: