title: Error "Could not resolve all files for configuration" in Android Studio
body: <p>I try to run an app that have no visible error in coding. However when I try to run it this error pop up:</p>
  <blockquote>
  <p>Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'.</p>
  </blockquote>
  <p>Not sure this error is important or not but I'll show here anyway:</p>
  <pre><code>API 'BaseVariant.getApplicationIdTextResource' is obsolete and has been replaced with 'VariantProperties.applicationId'.
  It will be removed in version 7.0 of the Android Gradle plugin.
  For more information, see TBD.
  To determine what is calling BaseVariant.getApplicationIdTextResource, use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
  </code></pre>