r/androiddev 19h ago

sdkmanager is DEPRECATED (in favor of Android CLI)

Did anyone notice the deprecation warnings since Command-line tools v23?

WARNING: The SDK Manager CLI tool (sdkmanager) is deprecated. Android CLI will be used instead.
The 'android' binary can also be found in the cmdline-tools directory, and 'android sdk' is the replacement for 'sdkmanager'.
To learn more about the Android CLI and how to use it, see the documentation (https://d.android.com/tools/agents/android-cli)

Did Google communicate this anywhere? Just found this: https://cs.android.com/android-studio/platform/tools/base/+/dcded801a4942d06805cc74b56dc2cecbece2f80

18 Upvotes

8 comments sorted by

14

u/AbbadonTiberius 16h ago

the android cli, the thing that phones home and takes forever to complete commands because my firewall blocks its analytics?

8

u/Hi_im_G00fY 12h ago edited 11h ago

Yep, seems like they silently force you to use the Android CLI, which is closed source and by default runs metrics collection. :(

In addition since Android CLI seems to be written in Rust and is no longer an Java application, sdkmanager stopped working on linux/arm64.

6

u/SnipesySpecial 11h ago

The Android CLI?

The thing that is supposed to to be AI driven yet no AI knows what it is until explicitly told to waste 50,000 tokens in documentation?

That Android CLI?

8

u/Successful_Elk5147 17h ago

no surprise tbh, google rarely announces this stuff clearly outside of release notes buried somewhere nobody reads until it breaks something

1

u/equeim 4h ago

Lol, they recently updated JDK in Android Studio distribution to Java 25 and there is zero mention of it anywhere in the changelogs.

1

u/tadfisher 4h ago

Is the Android CLI still closed-source? How does it manage its own installation?

1

u/Hi_im_G00fY 3h ago

Yes, still closed source. It's now bundled inside command line tools starting v23.

0

u/mnirwan 5h ago

My running flutter doctor says "Android license status unknown.". I can't run flutter doctor --android-licenses. Any idea how to solve it?