Jump to content

Erro ao rodar APP Ionic no Device


Flavio Nash

Recommended Posts

Pessoal estou com problemas na hora de executar meu App no meu celular, fiz uma API REST para consumir no APP quando fui executar o app no meu celular deu o seguinte erro:

BUILD FAILED

Total time: 18.293 secs

Error: /var/www/html/projeto/ionic/platforms/android/gradlew: 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.

Pesquisando na web algumas pessoas resolveram esse problema instalando a plataforma 24 (android 7), mas mesmo depois disso continuo com o erro. Alguém sabe o porque?

Link to comment
Share on other sites

quando aparece uma mensagem dessas :

Quote

You have not accepted the license agreements of the following SDK components:

só me passa pela cabeça que ou não instalaste ou simplesmente não aceitaste a licença quando instalaste

só vejo a solução de "enginheiro" : desista-la e volta a instalar mas agora aceita as licenças

IRC : sim, é algo que ainda existe >> #p@p
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.