How to Install android-headers in Ubuntu 18.04


Install android-headers by entering the following commands in the terminal:

sudo apt update
sudo apt install android-headers

Description:

Android Platform Headers from AOSP releases

Android NDK provided by Google contains subset of AOSP platform headers which are deemed "external interface" by Google. However, writing advanced software for Android necessitates access to complete platform. Many aspects of it change, sometimes drastically, between releases, so compiling user source code against platform headers for different releases is required (e.g. for libhybris). . This package provides the platform development headers for core components of AOSP (Android Open Source Project), for the 4.4.2 release

Version: 23-0ubuntu4

Section: universe/libdevel