You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a maui android info command that displays a comprehensive summary of the current Android development environment — SDK path, JDK path/version, installed API levels, key tool paths, and license status.
android info # Display the path to the default Android SDK used
Our CLI has maui android sdk check and maui android jdk check as separate health-check commands, and maui doctor --platform android for full diagnostics. But there is no single "show me the effective environment" command that answers: What SDK is MAUI using? What JDK? What API levels are installed? Where are the tools?
Use Cases
Environment debugging: When something goes wrong, the first question is always "what SDK/JDK am I using?" A single maui android info command provides the answer instead of requiring multiple commands.
Agent context: AI agents managing Android environments need a compact summary of the current state to make informed decisions about what to install, update, or configure.
Documentation & support: When filing bug reports or asking for help, maui android info output provides all the context a support engineer needs in one paste.
Summary
Add a
maui android infocommand that displays a comprehensive summary of the current Android development environment — SDK path, JDK path/version, installed API levels, key tool paths, and license status.Background
Google's
androidCLI provides:android info # Display the path to the default Android SDK usedOur CLI has
maui android sdk checkandmaui android jdk checkas separate health-check commands, andmaui doctor --platform androidfor full diagnostics. But there is no single "show me the effective environment" command that answers: What SDK is MAUI using? What JDK? What API levels are installed? Where are the tools?Use Cases
maui android infocommand provides the answer instead of requiring multiple commands.maui android infooutput provides all the context a support engineer needs in one paste.--sdkoverride: After using the proposed global--sdkflag (Add global--sdkpath override for all Android commands #125),maui android --sdk /path infoconfirms which SDK is actually being used.Proposed CLI Surface
Text Output Example
JSON Output
{ "sdkPath": "/Users/dev/Library/Android/sdk", "sdkPathSource": "ANDROID_HOME", "jdkPath": "/Users/dev/.maui/jdk/21", "jdkVersion": "21.0.2", "licensesAccepted": true, "requiresElevation": false, "installedApiLevels": [ { "api": 35, "platform": true, "buildTools": "35.0.0", "systemImages": ["google_apis/arm64-v8a"] }, { "api": 34, "platform": true, "buildTools": "34.0.0", "systemImages": [] } ], "tools": { "sdkmanager": "/Users/dev/.../sdkmanager", "avdmanager": "/Users/dev/.../avdmanager", "adb": "/Users/dev/.../adb", "emulator": "/Users/dev/.../emulator" } }Implementation Notes
IAndroidProvider(SDK path, health),IJdkManager(JDK path/version),SdkManager(tool paths, packages), and license status--sdkoverride (Add global--sdkpath override for all Android commands #125) when availableReferences
infocommand