title: Ionic cordova build android error : Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'
body: <p>I am a beginner. I can type a little english.
  I try to build ionic app. but error</p>
  <p><a href="https://i.stack.imgur.com/6CTcs.jpg" rel="nofollow noreferrer">error detail img</a></p>
  <pre><code>Checking Java JDK and Android SDK versions
  </code></pre>
  <p>ANDROID_SDK_ROOT=C:\Users\el_fe\AppData\Local\Android\Sdk (recommended setting)
  ANDROID_HOME=C:\Users\el_fe\AppData\Local\Android\Sdk\platform-tools (DEPRECATED)
  Using Android SDK: C:\Users\el_fe\AppData\Local\Android\Sdk
  Subproject Path: CordovaLib
  Subproject Path: app
  Observed package id 'platform-tools' in inconsistent location 'C:\Users\el_fe\AppData\Local\Android\Sdk\platform-tools' (Expected 'C:\Users\el_fe\AppData\Local\Android\Sdk\platform-tools\platform-tools')
  Checking the license for package SDK Patch Applier v4 in C:\Users\el_fe\AppData\Local\Android\Sdk\platform-tools\licenses
  Warning: License for package SDK Patch Applier v4 not accepted.
  Checking the license for package Android Emulator in C:\Users\el_fe\AppData\Local\Android\Sdk\platform-tools\licenses
  Warning: License for package Android Emulator not accepted.
  Checking the license for package Android SDK Tools in C:\Users\el_fe\AppData\Local\Android\Sdk\platform-tools\licenses
  Warning: License for package Android SDK Tools not accepted.
  Checking the license for package Android SDK Build-Tools 29.0.3 in C:\Users\el_fe\AppData\Local\Android\Sdk\platform-tools\licenses
  Warning: License for package Android SDK Build-Tools 29.0.3 not accepted.
  Checking the license for package Android SDK Platform 29 in C:\Users\el_fe\AppData\Local\Android\Sdk\platform-tools\licenses
  Warning: License for package Android SDK Platform 29 not accepted.</p>
  <p>FAILURE: Build failed with an exception.</p>
  <ul>
  <li>What went wrong:
  Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.</li>
  </ul>
  <blockquote>
  <p>Failed to install the following Android SDK packages as some licences have not been accepted.
  patcher;v4 SDK Patch Applier v4
  build-tools;29.0.3 Android SDK Build-Tools 29.0.3
  emulator Android Emulator
  platforms;android-29 Android SDK Platform 29
  tools Android SDK Tools
  To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
  Alternatively, to transfer the license agreements from one workstation to another, see <a href="http://d.android.com/r/studio-ui/export-licenses.html" rel="nofollow noreferrer">http://d.android.com/r/studio-ui/export-licenses.html</a></p>
  </blockquote>
  <p>Using Android SDK: C:\Users\el_fe\AppData\Local\Android\Sdk\platform-tools</p>
  <ul>
  <li><p>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.</p>
  </li>
  <li><p>Get more help at <a href="https://help.gradle.org" rel="nofollow noreferrer">https://help.gradle.org</a></p>
  </li>
  </ul>
  <p>BUILD FAILED in 3s
  Command failed with exit code 1: C:\myapp_63\BBPHApp63\platforms\android\gradlew cdvBuildDebug -b C:\myapp_63\BBPHApp63\platforms\android\build.gradle
  [ERROR] An error occurred while running subprocess cordova.</p>
  <pre><code>    cordova.cmd build android exited with exit code 1.
  
      Re-running this command with the --verbose flag may provide more information.
  </code></pre>