Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Android Code search
Stay organized with collections Save and categorize content based on your preferences.
The Android Open Source Project (AOSP) is stored as collection of Git repositories, which are managed together using the Repo tool. Most Android development tools (such as ) can't see the source code the way that it's laid out when it's checked out. Android Code Search is a tool that helps you view the Android source code as it's laid out when you actually use it.
Android Code Search makes it easy to navigate cross-references across all of AOSP by letting you to click through one part of the source code to another. This method of navigation helps you switch between Android's open source branches.
Android Code Search is similar to Google Code Search. For more details on using Google Code Search, see Getting started with Code Search.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-04-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-28 UTC."],[],[]]