cmdline-tools : could not determine SDK root

Since new updates, there are some changes that are not mentioned in the documentation.
After unzipping the command line tools package,
the top-most directory you’ll get is cmdline-tools.
Rename the unpacked directory from cmdline-tools to tools, and place it under $C:/Android/cmdline-tools

now it will look like
$C:/Android/cmdline-tools/tools

and it will work perfectly.

Leave a Comment