android-headers - Android Platform Headers from AOSP releases

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Main amd64
Package name: android-headers
Package version: 23
Package release: 0ubuntu2
Package architecture: all
Package type: deb
Installed size: 17 B
Download size: 2.05 KB
Official Mirror:
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



  • android-platform-headers


  • android-platform-headers


    Source package: android-headers

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install android-headers deb package:
      # sudo apt-get install android-headers


    • /usr/include/android
    • /usr/lib/pkgconfig/android-headers.pc
    • /usr/share/doc/android-headers/changelog.Debian.gz
    • /usr/share/doc/android-headers/copyright


    2016-01-29 - Christopher James Halse Rogers <> android-headers (23-0ubuntu2) xenial; urgency=medium * debian/android-headers.{preinst,postinst,postrm}: Use dpkg-maintscript-helper to switch /usr/include/android to a symlink. (LP: #1539338) * debian/control: add appropriate Pre-Depends on dpkg for mainscript helper.

    2016-01-11 - Simon Fels <> android-headers (23-0ubuntu1) xenial; urgency=medium * New upstream release which now includes multiple sets of header files divided by the Android API levels we care about. * All header sets are now installed in their corresponding debian package android-headers-<API level>. The former android-headers package is now a transitional one depending on android-headers-19 and installing proper symlinks to allow all current users to still build without any changes. * Install proper pkgconfig configuration files for all header sets so that users can now select which of those to use a build time.

    2015-10-16 - Simon Fels <> android-headers (4.4.2-2-0ubuntu5) vivid; urgency=medium [ Yuan-Chen Cheng ] * add android-config.h and vibrator.h required by new libhybris * catch up (not in released file list)

    2015-04-09 - Ricardo Salveti de Araujo <> android-headers (4.4.2-2-0ubuntu4) vivid; urgency=medium * debian/patches/updating_hwcomposer_android5.patch: - Updating hwcomposer headers so we can use hwcomposer 1.4

    2014-12-08 - Mathieu Trudel-Lapierre <> android-headers (4.4.2-2-0ubuntu3) vivid; urgency=medium * debian/patches/wifi_compat_check_avail.patch: add declaration for new method to check that the wifi compat HAL layer is available: wifi_compat_check_availability().

    2014-08-14 - Ricardo Salveti de Araujo <> android-headers (4.4.2-2-0ubuntu2) utopic; urgency=medium * debian/patch/avoid_include_system_properties.patch: - sys/system_properties.h is only useful on Android, and part of bionic, so make sure we're not including it by default

    2014-08-05 - Ricardo Salveti de Araujo <> android-headers (4.4.2-2-0ubuntu1) utopic; urgency=medium * Adding wifi.h from hardware legacy

    2014-06-18 - Ricardo Salveti de Araujo <> android-headers (4.4.2-1-0ubuntu2) utopic; urgency=medium * graphics_h_include_missing_stddef_h.patch: - Include missing stddef.h to avoid issues with size_t (LP: #1331435)

    2014-06-17 - Ricardo Salveti de Araujo <> android-headers (4.4.2-1-0ubuntu1) utopic; urgency=medium * New upstream release * Bumping standards-version to 3.9.5

    2014-05-21 - Ricardo Salveti de Araujo <> android-headers (4.2.2-5-0ubuntu2) utopic; urgency=medium * debian/patches/android_alarm_use_right_include_kernel_userspace.patch: - Use the right time.h header when this gets included by userspace code