Android Studio Change SDK Path


The default location for Android SDK in IntelliJ Android Studio IDE is something like /Users/code2care/Android/adt-bundle-mac-x86_64-20140702/sdk (on Mac OS X), it is the directory where the Android SDK is located when you install it, it is the location used for new projects and for existing projects that do not have a local.properties file with an SDK.dir property.

If you want to change this path to something else then follow the below steps,

  1. Just close Android Project that is open in Android Studio.It would be better if you can close the IDE completely and restart it.
  2. Now you should be able to see the "Welcome to Android Studio" window with Recent Projects at the left and Quick Start options at the right. Select Configure from the Quick Start Options.
  3. Now select Project Defaults from Configure Options.
  4. Select Project Structure.
  5. You would now get a Pop-up window SDK Locations
  6. You can change the path of the SDK under Android SDK location : text filed.
  7. Make changes to the path and Click Apply
  8. We are done!
Advertisements
Try Out Code2care Dev Tools:

Advertisements



Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Advertisements


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
🎉 We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR - https://donate.unhcr.org/in/en-in/ukraine-emergency