Android Studio - How to Change Android SDK Path

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

    I noticed that the latest version of Android Studio doesn't seem to have the option "SDKs" path that's mentioned in many of the answers. I'm guessing that disappeared in one of the updates, somewhere down the line?

    The way i solved this issue (osx) was:

    1. Go to Project Settings (Cmd + ;)
    2. In SDK Location make sure you're pointing to the correct SDK location (typically /Applications/Android Studio.app/sdk) then hit Apply
    3. Most important step - hit "Sync Project with Gradle files"

    I wasn't doing Step 3 and that was throwing me off. After a sync all your source r belong to us....

提交回复
热议问题