Android SDK 位置不应包含空格,因为这会导致 NDK 工具出现问题 [英] Android SDK location should not contain whitespace, as this cause problems with NDK tools

查看:52
本文介绍了Android SDK 位置不应包含空格,因为这会导致 NDK 工具出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我安装了最新版本的 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆