androidDependencies Unable to resolve dependency for

Unable to resolve dependency for ‘:app@debug/compileClasspath’: Could not resolve com.android.support:support-v4:28.0.0-rc02.

Executing tasks: [androidDependencies]

Configuration on demand is an incubating feature.
:app:androidDependencies
debug
:app:androidDependencies FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:androidDependencies’.

Could not resolve all artifacts for configuration ‘:app:debugCompileClasspath’.
Could not resolve com.android.support:support-v4:28.0.0-rc02.
Required by:
project :app
No cached version of com.android.support:support-v4:28.0.0-rc02 available for offline mode.
No cached version of com.android.support:support-v4:28.0.0-rc02 available for offline mode.
Could not resolve com.android.support:support-v13:28.0.0-rc02.
Required by:
project :app
No cached version of com.android.support:support-v13:28.0.0-rc02 available for offline mode.
No cached version of com.android.support:support-v13:28.0.0-rc02 available for offline mode.
Could not resolve com.android.support:design:28.0.0-rc02.
Required by:
project :app
No cached version of com.android.support:design:28.0.0-rc02 available for offline mode.
No cached version of com.android.support:design:28.0.0-rc02 available for offline mode.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 0s
1 actionable task: 1 executed
21:50:05: Task execution finished ‘androidDependencies’.