在 Android Studio 中更改 SDK 位置:目录位置中的空格 [英] Changing SDK location in Android Studio:Whitespaces in directory location

查看:99
本文介绍了在 Android Studio 中更改 SDK 位置:目录位置中的空格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 android API 级别 22.但是这个位置是从另一台机器复制的,它在我的 E: 驱动器中.我在以下位置安装了 API 级别 23:

I am using android API level 22.But this location was copied from another machine and it is in my E: drive.I have API level 23 installed in the following location:

C:\Program Files (x86)\Android\android-sdk

但是当我尝试将位置更改为上述位置时,我收到以下消息:

But when i try to change the location to the above one, i get the following message:

Android SDK location should not contain whitespace,as this can cause problem with the native tools.

如何在不出现空格的情况下将 SDK 位置更改为上述位置.

How do i change the SDK location to the above location without having the issue of whitespaces.

推荐答案

将位置更改为(在我的情况下,它位于此处)

Change location to (in my case its located here)

C:\Users\johnrao\AppData\Local\Android\Sdk

尝试复制这些文件夹中的文件或删除文件并从sdk管理器

这篇关于在 Android Studio 中更改 SDK 位置:目录位置中的空格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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