zipsync command not found

In this troubleshooting guide we learn how to fix zipsync command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

zipsync: command not found

or when using sudo you get the following error message

sudo: zipsync: command not found

Solutions to zipsync: command not found

How To Fix zipsync: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu zipsync is provided by soong package.

soong is:

Soong is a build system for Android built on top of Blueprint, a meta-build system. Soong is the replacement for the old Android make-based build system. It replaces Android.mk files with Android.bp files, which are JSON-like simple declarative descriptions of modules to build.

This package contains command-line tools for Soong.

To fix this problem, we can install more using the command below.

sudo apt-get -y install soong

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install soong.

sudo apt -y install soong

Or if you have aptitude installed you can use the following command.

sudo aptitude install soong

Summary

In this tutorial we learn how to fix zipsync command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.