0
I went to run a project Android with Cordova but it gave a license error and I can’t fix, it was working normal until I add a plugin to qrcode.
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 Support Repository]. 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.
Voce must have an android SDK installed there, updates it via command line, something like
TUAPASTASDK/tools/bin/sdkmanager
– Armando Marques Sobrinho
I don’t know if it helps you, but I was having this problem too, I had to install an earlier version of sdk(25) after that worked. I was able to build on Cordova.
– Jean Freitas