Android Studio - How to Change Android SDK Path

前端 未结 29 2146
甜味超标
甜味超标 2020-11-22 03:18

When I open Android SDK Manager from Android Studio, the SDK Path displayed is:

\\android-studio\\sdk

I want to change th

29条回答
  •  轮回少年
    2020-11-22 03:54

    for projects default:

    1. Close current Project (File->Close project)

    You'll get a Welcome to Android Studio Dialog. In that:

    2. Click on Configure -> Project Defaults -> Project Structure

    3. Click on SDK Location in the left column

    4. Put the path to the Android SDK in "Android SDK location" field.

    (Example SDK location: C:\android-sdk; I have sub-folders like add-ons, platforms etc under C:\android-sdk)

    5. Click OK to save changes


    6. Have fun!


    Following steps were for older versions(<1.0) of Android Studio

    4. In the middle column Click on Android SDK (with Android icon) OR click + on the top if you don't see an entry with Android icon.

    5. Change SDK Home Path and select valid Target

提交回复
热议问题