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
{{ message }}
Repository navigation
MAUI Android environment check reports all SDK components as "NOT INSTALLED" with Android cmdline-tools 23.0 #3717
Android cmdline-tools installed: 11.0, 12.0, 19.0, 23.0 (no latest)
Problem
The Android environment status says all required components are missing, even though they are installed:
✗ Android SDK - UPDATE REQUIRED
- Path: '/home/<user>/Android/Sdk'
✗ platforms;android-36 - NOT INSTALLED
✗ build-tools;36.0.0 - NOT INSTALLED
✗ platform-tools - NOT INSTALLED
✗ cmdline-tools;latest - NOT INSTALLED
The JDK and SDK path are detected correctly. maui android sdk list --json exits with code 0 but returns [].
Cause
The MAUI CLI runs sdkmanager --list from the highest-versioned cmdline-tools/<version> folder. It ignores cmdline-tools/latest even when that symlink exists. In cmdline-tools 23.0, sdkmanager is deprecated: it's a shell wrapper that calls the new Android CLI (android --sdk=... sdk list --all). The new output has a different format: there's no Path | Version | Description | Location table header, and package paths use / instead of ;:
The parser doesn't recognize the new format, so it finds no packages.
Steps to reproduce
Install Android cmdline-tools 23.0 alongside older versions, or on its own.
Run maui android sdk list --json (or open a MAUI project in VS Code).
The command returns [], and the environment check reports every component as not installed.
Verified workaround
Moving cmdline-tools/23.0 out of the SDK directory makes the CLI fall back to 19.0. After that, maui android sdk list --json lists all installed packages correctly.
Expected behaviour
Parse the new Android CLI output format, or call android sdk list directly.
Prefer cmdline-tools/latest when it exists, matching Android tooling conventions.
Adding a data point from a Linux setup with the same versions, because the trigger looks narrower than "23.0 installed anywhere".
Environment
.NET MAUI extension 11.0.114 (linux-x64), C# Dev Kit 11.11.98
.NET SDK 11.0.100 (GA, not RC), maui-android workload
JDK 25 (Temurin), Android SDK at ~/Android/Sdk
cmdline-tools layout: cmdline-tools/latest only, no versioned directories
Before / after installing 23.0 at latest
The SDK was already complete (platforms/android-37.0, build-tools/37.0.0, platform-tools, emulator). With the pre-23.0 copy at cmdline-tools/latest (unpacked by hand, so no package.xml), the environment check reported:
Detection worked; only the absent package.xml was flagged. I then installed cmdline-tools;latest through sdkmanager itself, so the metadata now exists (Pkg.Revision=23.0), and the next check reported:
✗ Android SDK - UPDATE REQUIRED
✗ platforms;android-37.0 - NOT INSTALLED
✗ build-tools;37.0.0 - NOT INSTALLED
✗ platform-tools - NOT INSTALLED
✗ cmdline-tools;latest - NOT INSTALLED
Nothing else changed between those two runs, and sdkmanager --list_installed still lists every package, so this is purely the parse. It does not require a versioned cmdline-tools/<version> directory — the latest-only layout reproduces it, which may be worth covering in the fix.
Separator evidence
Swapping only the cmdline-tools copy, same machine and SDK, Path column:
Activity
londospark commentedon Nov 16, 2026
Adding a data point from a Linux setup with the same versions, because the trigger looks narrower than "23.0 installed anywhere".
Environment
maui-androidworkload~/Android/Sdkcmdline-tools/latestonly, no versioned directoriesBefore / after installing 23.0 at
latestThe SDK was already complete (
platforms/android-37.0,build-tools/37.0.0,platform-tools,emulator). With the pre-23.0 copy atcmdline-tools/latest(unpacked by hand, so nopackage.xml), the environment check reported:Detection worked; only the absent
package.xmlwas flagged. I then installedcmdline-tools;latestthrough sdkmanager itself, so the metadata now exists (Pkg.Revision=23.0), and the next check reported:Nothing else changed between those two runs, and
sdkmanager --list_installedstill lists every package, so this is purely the parse. It does not require a versionedcmdline-tools/<version>directory — thelatest-only layout reproduces it, which may be worth covering in the fix.Separator evidence
Swapping only the cmdline-tools copy, same machine and SDK,
Pathcolumn:Happy to run a build or try a pre-release of the extension if it helps narrow the fix.
Drafted with AI assistance: an AI coding agent helped investigate and write this. I verified the logs and reproduced the behaviour locally.
steven-pearson commentedon Nov 18, 2026
It appears that the MAUI tool cannot see the installed Android SDK. MAUI CLI Shows the following
ℹ Installed packages:
build-tools (4 major, 7 total)
37.0.0-rc2 Android SDK Build-Tools 37-rc2 (+1 older)
36.1.0 Android SDK Build-Tools 36.1 (+1 older)
35.0.1 Android SDK Build-Tools 35.0.1 (+1 older)
34.0.0 Android SDK Build-Tools 34
However SDK Tools in Android Studio is showing 37.0.0 tool installed.
MacOS with 11.0.114 installed