How to Install aidl in Ubuntu 18.04

Install aidl by entering the following commands in the terminal:

sudo apt update
sudo apt install aidl


Binder generator of AIDL interfaces

aidl is a utility to generate Java and/or C++ code from Android's Android Interface Definition Language (AIDL). AIDL is similar to other IDLs you might have worked with. It allows you to define the programming interface that both the client and service agree upon in order to communicate with each other using interprocess communication (IPC). On Android, one process cannot normally access the memory of another process. So to talk, they need to decompose their objects into primitives that the operating system can understand, and marshall the objects across that boundary for you. The code to do that marshalling is tedious to write, so Android handles it for you with AIDL. This package provides two tools: . * "aidl" which generates Java bindings. * "aidl-cpp" which generates C++ bindings. . For more info, see:


Version: 1:7.0.0+r33-1

Section: universe/devel