soong_build command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
soong_build: command not found
or when using sudo you get the following error message
sudo: soong_build: command not found
Solutions to soong_build: command not found
How To Fix soong_build: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu soong_build 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 soong_build command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.