2
votes

I'm trying to build an apk from my ionic project. When I launch ionic build android, i get this error

FAILURE: Build failed with an exception.

BUILD FAILED

What is it?

1
There might be permission problems.By running command sudo ionic run android will resolve your problem.Muhsin Keloth

1 Answers

0
votes

This is an error related to android tools version.By executing the following commands will resolve your issue.

android list sdk

and

android update sdk --no-ui --filter extra