Android Studio - How to Change Android SDK Path

前端 未结 29 1834
甜味超标
甜味超标 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:41

    Here's how you can change the android sdk path in Android studio:

    1. Open your required android project in Android studio
    2. Click on the main project folder and press F4
    3. Now click on "SDKs" under Platform Settings (Left hand side of the dialog box)
    4. You should now see a plus sign on the top, click it and choose "Android SDK"
    5. Now you would be asked to choose the required SDK folder
    6. Select the required build target(if necessary) and click "ok"
    7. Now you should see the new entry in the list of SDKs
    8. Click "Modules" under Project Settings
    9. Select your project folder and in the Dropdown for "Module SDK", select the new SDK entry and click "apply"
    10. Now click "OK" and your done.

    Note: If changes do not take effect, restarting android studio should fix the problem.

提交回复
热议问题