Android SDK位置不应包含空格,因为这会导致NDK工具出现问题 [英] Android SDK location should not contain whitespace, as this cause problems with NDK tools
问题描述
最近,我安装了最新版本的Android Studio(Android Studio 2.1),并保留了以前安装的旧版本1.2.现在我有Android Studio 2.1和Android Studio 1.2.在Android Studio 1.2中,当我单击SDK Manager时,它可以正常工作,但是在Andorid Studio 2.1中,出现此问题: 如何修复保留两个版本的Android Studio?谢谢
Recently I have installed the last version of Android Studio (Android Studio 2.1), keeping the old 1.2 version previously installed. Now i have Android Studio 2.1 and Android Studio 1.2. In Android Studio 1.2 when I click on SDK Manager it works properly, but in Andorid Studio 2.1 this problem appears: how can I fix keeping the two versions of Android studio? Thanks
推荐答案
警告消息指出,SDK位置不应包含空格.
As the warning message states, the SDK location should not contain whitespace.
您的SDK位于C:\Users\Giacomo B\AppData\Local\Android\sdk
. Giacomo B
中有一个空格字符.
Your SDK is at C:\Users\Giacomo B\AppData\Local\Android\sdk
. There is a whitespace character in Giacomo B
.
最简单的解决方案是将SDK移动到其他地方,路径中没有空格或其他空格字符,例如C:\Android\sdk
.您可以将两个Android Studio安装都指向新位置.
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.
这篇关于Android SDK位置不应包含空格,因为这会导致NDK工具出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!