Android SDK location should not contain whitespace, as this cause problems with NDK tools

后端 未结 11 1916
轮回少年
轮回少年 2020-12-02 13:21

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 Andro

11条回答
  •  生来不讨喜
    2020-12-02 14:05

    I just wanted to add a solution for Mac users since this is the top article that comes up for searches related to this issue. If you have macOS 10.13 or later you can make use of APFS Space Sharing.

    • Open Disk Utility
    • Click Partition
    • Click Add Volume -- no need to Partition as we are adding an APFS volume which shares space within the current partition/container)
    • Give the volume a name (without spaces)
    • Click Add
    • You can now mount this drive like any other via Terminal: cd /Volumes/
    • Create an empty folder in the new volume -- I called mine sdk
    • You can now select the volume and directory while installing Android Studio

提交回复
热议问题