Directory Structure

The AOSP project structure is divided into the following main directories:

  • bionic: This directory contains the Bionic C library, which is the standard C library for Android.

  • bootable: This directory contains the boot and startup related code for Android.

  • build: This directory contains the build system for Android, which is responsible for compiling and building the Android platform.

  • cts: This directory contains the Compatibility Test Suite (CTS), which is a set of tests that are used to ensure that Android devices comply with the Android Compatibility Definition Document (CDD).

  • dalvik: This directory contains the Dalvik Virtual Machine (DVM), which is the runtime environment for Android applications.

  • development: This directory contains projects related to development, such as the SDK and NDK tools.

  • device: This directory contains product specific code for different devices.

  • external: This directory contains source code for all external open source projects that are used by Android.

  • frameworks: This directory contains the core framework code for Android, such as the Activity Manager, the Package Manager, and the Content Provider.

  • libs: This directory contains shared libraries that are used by the Android platform.

  • packages: This directory contains the pre-installed applications that are included with the Android platform.

  • system: This directory contains the core system files for Android, such as the kernel, the initramfs, and the root filesystem.

  • tests: This directory contains the unit and integration tests for the Android platform.

  • out: This directory will contain your generated/build modules and files.

Last updated