Android Development Environment

Android Development Environment

This should work:

scoop install -g android-studio

But to avoid issues with spaces in pathnames, install it into proper directories, doing it as global install. Better is to immediately type: scoop install -g android-studio android-clt android-sdk

This is because Android SDK should not have any spaces. It does not cause problems right away, but later on with NDK it causes problems and similar issues.

After that, when running Studio, it will understand where the SDK is and add anything else that is needed. You may need to run Studio as an administrator.

For Kotlin, Java doesn’t have to be installed, but it can if it’s necessary.

Still problems with spaces on Windows

“I tried to solve it with a symlink, but in the end, it’s better to just install everything ins scoop global space.

cd \Users mklink /d Common-User “Common User”

How to resolve this name issue having white space while installing the android Studio? Android SDK location should not contain whitespace, as this cause problems with NDK tools

date 05. Dec 2022 | modified 17. Jan 2023
filename: Windows » Dev Environment » Android