I have android studio but no zipalign

does anyone know how I can install zipalign or fix this bug?

What bug? You didn’t write a word about Ionic until now here. Do you have an error message or something?

this happens when I run zipalign.

coens-air:OpendagApp1 coenlijster$ zipalign
-bash: zipalign: command not found
coens-air:OpendagApp1 coenlijster$

this happens when I open zipalign in the android folder

Last login: Mon Jan 22 16:58:12 on ttys002
/Users/coenlijster/Library/Android/sdk/build-tools/27.0.3/zipalign ; exit;
coens-air:~ coenlijster$ /Users/coenlijster/Library/Android/sdk/build-tools/27.0.3/zipalign ; exit;
Zip alignment utility
Copyright (C) 2009 The Android Open Source Project

Usage: zipalign [-f] [-p] [-v] [-z] <align> infile.zip outfile.zip
       zipalign -c [-p] [-v] <align> infile.zip

  <align>: alignment in bytes, e.g. '4' provides 32-bit alignment
  -c: check alignment only (does not modify file)
  -f: overwrite existing outfile.zip
  -p: memory page alignment for stored shared object files
  -v: verbose output
  -z: recompress using Zopfli
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

still can’t use zipalign. How do I fix this?

Zipalign is in that folder, use it by giving it some options and parameters.