Solucionado (ver solução)
Solucionado
(ver solução)
2
respostas

Erro ao Build do PROJETO DO CORDOVA

Quando eu dou ENTER no seguinte Comando: cordova run android, aparece esse erro:

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

BUILD FAILED

Total time: 11.525 secs
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring root project 'android'.
> You have not accepted the license agreements of the following SDK components:
[Android SDK Platform 24].
Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
2 respostas

Oi Erick

Ele reclama que faltou aceitar as licenças de uso do Android SDK. Meu chute é que faltou instalar algum dos componentes lá na tela do Android SDK

Seçao Configurar ANdroid SDK desse exercicio: https://cursos.alura.com.br/course/cordova-phonegap/task/14261

solução!

Nao, nao foi isso, ele nao aceitou a versao 25.00 na platform tools, intao consegui bolar um comando pra atualizar pra 24.00 que é esse : `` android update sdk --no-ui --filter build-tools-24.0.0,android-24,extra-android-m2repository```