Android SDK Location Should Not Contain Whitespace, As This Cause Problems With NDK Tools
Answer :
As the warning message states, the SDK location should not contain whitespace.
Your SDK is at C:\Users\Giacomo B\AppData\Local\Android\sdk
. There is a whitespace character in Giacomo B
.
The easiest solution is to move the SDK somewhere else, where there is no space or other whitespace character in the path, such as C:\Android\sdk
. You can point both Android Studio installations to the new location.
There is another way:
- Open up
CMD
(as Administrator) - Type:
mklink /J C:\Program-Files "C:\Program Files"
(Or in my casemklink /J C:\Program-Files-(x86) "C:\Program Files (x86)"
) - Hit enter
- Magic happens! (Check your C drive)
Now you can point to C:\Program-Files
(C:\Program-Files-(x86)
).
just change the path:
"c:\program files\android\sdk" to "c:\progra~1\android\sdk" or "c:\program files (x86)\android\sdk" to "c:\progra~2\android\sdk"
note that the paths should not contain spaces.
Comments
Post a Comment