blattmann / zipalign

Creating an apk for public publishing
18 stars 3 forks source link

Zipalign installation guide without android studio needed #1

Open Trakeur opened 1 month ago

Trakeur commented 1 month ago

Hi, This post is actually not a issue, just a quick guide that will maybe help people who want to install the zipalign tool because I didn't see lot of documentation about it and I struggle a bit to install it on mac os without installing Android Studio. 1 - Retrieve android command line tools from official android studio site (bottom of the page, section "Command line tools only" : https://developer.android.com/studio?hl=fr 2 - Decompress it and use the sdkmanager binary under /bin to install zipalign : sdkmanager --install "build-tools;34.0.0 (adapt version you can check it with sdkmanager --list | grep build-tools. 3 - You should be able to run zipalign tool after adding the build-tools folder in your path.

I recommend you to follow this, french, guide for more precisions : https://mickael-baron.fr/blog/2021/05/26/sdkandroid-cli

Trakeur commented 1 month ago

I take the liberty to propose it due to the old version accessible in this repo.