How to Install and Uninstall android-headers Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 17,2024

1. Install "android-headers" package

This guide covers the steps necessary to install android-headers on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install android-headers

2. Uninstall "android-headers" package

Please follow the step by step instructions below to uninstall android-headers on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove android-headers $ sudo apt autoclean && sudo apt autoremove

3. Information about the android-headers package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: android-headers
Priority: extra
Section: libdevel
Installed-Size: 17
Maintainer: Ubuntu Developers
Architecture: all
Version: 23-0ubuntu2
Replaces: android-platform-headers
Depends: android-headers-19
Pre-Depends: dpkg (>= 1.17.14)
Conflicts: android-platform-headers
Filename: pool/main/a/android-headers/android-headers_23-0ubuntu2_all.deb
Size: 2100
MD5sum: 3a2f2af6bf67fdb73f2d300b6a5766a0
SHA1: 1b7da53ed4d76326f5d376cfde89e38997b4f725
SHA256: 1285968ae03a764ce348630bc714d309ef4fb2a8c493911ee86237ae4c53072e
Description-en: 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
Description-md5: 6817d64ff469d8fb6602b6debffefe9b
Multi-Arch: foreign
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m

5. The same packages on other Linux Distributions