Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Problema de licensa - You have not accepted the license agreements... [Android SDK Platform 26]

quando tento rodar no celular ou no computador com os comandos abaixo:

cordova run android ou cordova run android --device aparece a seguinte mensagem:

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 26]. 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.

1 resposta
solução!

Consegui resolver instalando a plataforma do android 8 pelo sdk manager

(Obs.: fui pelo android studio q já estava instalado na minha maquina... File > Settings > Appearance & Behavior > System Settings > Android SDK > SDK Platforms)