Searches Android documentation. Enclose keywords in quotes.
Usage
android docs search [-h] <query>
Options
-h,--help- Shows the help message for the specified command.
android options:
--sdk=PARAM- Path to the Android SDK.-v,--verbose- Enable verbose output for troubleshooting.-V,--version- Print version information and exit.
Positional arguments
<query>- The query to search the documentation for. Enclose keywords in quotes.
Description
android docs search queries the official Android Knowledge Base and returns a ranked list of matching documentation articles along with their kb:// URLs.
Pass any kb:// URL from the search results to android docs fetch to read the full article in your terminal.
Examples
Search for documentation on Jetpack Compose navigation:
android docs search "Jetpack Compose navigation"
Search for guidance on improving app startup performance:
android docs search "How do I improve my app performance?"