title: Cannot specify -processorpath or --processor-path via `CompileOptions.compilerArgs`. Use the `CompileOptions.annotationProcessorPath` property instead
body: <p>I'm cloning an android course project from GitHub, and facing a series of errors, I've manged to solve some of them till I stuck in last one, the scenario as follows:</p>
  <p>1- error: Could not find com.android.support:appcompat-v7:25.1.0. (Solved).</p>
  <p>2- error: File google-services.json is missing from module root folder. The Google Services Plugin cannot function without it.(solved)</p>
  <p>3-error: Cannot specify -processorpath or --processor-path via <code>CompileOptions.compilerArgs</code>. Use the <code>CompileOptions.annotationProcessorPath</code> property instead.</p>
  <p>This one that I can't fix<a href="https://i.stack.imgur.com/Hqcax.png" rel="nofollow noreferrer">Error snip</a></p>
  <p>and after adding this implementation (
  implementation 'com.google.firebase:firebase-core:17.4.3'), I get that error as well.</p>
  <ul>
  <li>error: This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled. Set this property to true in the gradle.properties file and retry.
  <a href="https://i.stack.imgur.com/Yhn5d.png" rel="nofollow noreferrer">Error snip</a></li>
  </ul>