Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

246
Views
No se pudieron determinar las dependencias del error de la tarea ':app:compileDebugJavaWithJavac'

Tengo un problema al intentar compilar mi aplicación de Android. Estoy usando cordova, más específicamente la versión 10.0.0.

 cd C:\xampp\htdocs\app npm install -g cordova cordova create MyApp cd MyApp cordova platform add android

El problema aparece cuando trato de compilar mi proyecto:

 cd C:\xampp\htdocs\app\MyApp cordova build android

También agregué las variables de entorno ANDROID_SDK_ROOT, JAVA_HOME, ANDROID_HOME, y en la variable "ruta" agregué mi versión de gradle.

Al leer que era un problema de permisos con las licencias, intenté ejecutar en la terminal " flutter doctor --android-licenses " que aceptaba todas las licencias. He probado todo lo que se me ha ocurrido y no he tenido forma de solucionarlo, aqui estan los detalles del error:

 Checking Java JDK and Android SDK versions ANDROID_SDK_ROOT=C:\Users\yo\AppData\Local\Android\Sdk (recommended setting) ANDROID_HOME=C:\Program Files\Java\jdk1.8.0_171 (DEPRECATED) Using Android SDK: C:\Users\yo\AppData\Local\Android\Sdk Subproject Path: CordovaLib Subproject Path: app Checking the license for package Android SDK Platform-Tools in C:\Program Files\Java\jdk1.8.0_171\licenses Warning: License for package Android SDK Platform-Tools not accepted. Checking the license for package SDK Patch Applier v4 in C:\Program Files\Java\jdk1.8.0_171\licenses Warning: License for package SDK Patch Applier v4 not accepted. Checking the license for package Android Emulator in C:\Program Files\Java\jdk1.8.0_171\licenses Warning: License for package Android Emulator not accepted. Checking the license for package Android SDK Tools in C:\Program Files\Java\jdk1.8.0_171\licenses Warning: License for package Android SDK Tools not accepted. Checking the license for package Android SDK Build-Tools 29.0.2 in C:\Program Files\Java\jdk1.8.0_171\licenses Warning: License for package Android SDK Build-Tools 29.0.2 not accepted. Checking the license for package Android SDK Platform 29 in C:\Program Files\Java\jdk1.8.0_171\licenses Warning: License for package Android SDK Platform 29 not accepted. FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. > Failed to install the following Android SDK packages as some licences have not been accepted. patcher;v4 SDK Patch Applier v4 emulator Android Emulator platforms;android-29 Android SDK Platform 29 tools Android SDK Tools build-tools;29.0.2 Android SDK Build-Tools 29.0.2 platform-tools Android SDK Platform-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 http://d.android.com/r/studio-ui/export-licenses.html Using Android SDK: C:\Program Files\Java\jdk1.8.0_171 * 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

¿Alguien sabe lo que podría hacer? Solo quiero crear una aplicación android desde una aplicación web de la forma más sencilla, aunque sea emulada y no nativa. Gracias de antemano

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!