When I run ionic build android command in root of ionic project, I am getting this error:
FAILURE: Build failed with an exception.
You are missing android SDK tools. Please try the following:
android list sdk --all android update sdk -u -a -t
Where is 1,2,3,n and
1,2,3,n
-u (--no-ui) # Headless mode -a (--all) # Includes all packages (also obsolete ones) -t (--filter) # Filter by package index