- #Android studio sdk location cannot contain whitespace name manual
- #Android studio sdk location cannot contain whitespace name android
#Android studio sdk location cannot contain whitespace name android
The build failed with the following error message:Ĭould not find gradle wrapper within Android SDK. When I tried to rebuild my Ionic application, I stumbled across the next problem. Now, I could finally manage my Android SDK configuration and start the Android emulator again. Delete all virtual devices in AVD Manager and recreate them because the old ones were still looking for system images in the old path ( c:\Program Files (x86)\Android\android-sdk\system-images\) and therefore couldn't be started any more.Change all the subfolders of old SDK location that were listed in the PATH environment variable to the new location.Change the ANDROID_HOME environment variable to point to the new location.Add write permissions to the C:\android_sdk folder to regular users so that I don't have to start Android Studio with admin privileges in order to modify the SDK components installed.Change the Android SDK Location setting in SDK Manager inside Android Studio to point to the new location: C:\android_sdk.To get everything working again, some extra steps were required: There didn't seem to be any other way to resolve the issue than to move the SDK to another path with no white space. I had Android SDK installed in C:\Program Files (x86)\Android\android_sdk. AVD Manager worked fine, however SDK Manager displayed the following warning and had all the functionalities disabled:Īndroid SDK location should not contain whitespace, as this can cause problems with the NDK tools. Obviously the standalone executables have been deprecated as well.
#Android studio sdk location cannot contain whitespace name manual
For manual SDK, AVD, and project management, please use Android Studio. Running the android command revealed the reason: A window only appeared for a moment and immediately closed. I first noticed that I couldn't start the standalone AVD Manager and SDK Manager graphical user interfaces any more. Unfortunately several breaking changes have been introduced since the version I was using before, which altogether broke my regular flow of work. I have finally updated Android SDK to the latest version, because I wanted Android Studio to stop informing me about available updates on every startup.