Hello, I have downloaded the ZIP commandlinetools-win-9477386_latest.zip, from Android Studio official website, because my PC is very slow. And I prefer to create apps without the IDE. Once unzipped, in the "bin" folder, there are the bat files. apkanalyzer avdmanager lint profgen retrace screenshot2 sdkmanager
Set only the variable, ANDROID_HOME, with this path C:\commandlinetools-win-9477386_latest\cmdline-tools\bin Which when executing the SDKMANAGER and the other bat all its possible options appear to me. The problem occurs when executing the command. sdkmanager --list --channel=0 Error: Could not determine SDK root. Error: Either specify it explicitly with --sdk_root= or move this package into its expected location: <sdk>\cmdline-tools\latest\ Also in the documentation there are also other environment variables, but my question is. How can I solve my error, and how can I install the NDK to be able to create apps with C++ libraries
I have read these pages but it is not very clear to me https://developer.android.com/studio/command-line/variables?hl=es-419#android_home https://developer.android.com/studio/projects/configure-agp-ndk?hl=es-419#:~:text=Para%20instalar%20el%20NDK%20desde%20la%20l%C3%ADnea%20de ,NDK%2C%20uses%20the%20following%20syntax%3A%20sdkmanager%20--install%20
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)