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,
- Just close Android Project that is open in Android Studio.It would be better if you can close the IDE completely and restart it.
- 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.
- Now select Project Defaults from Configure Options.
- Select Project Structure.
- You would now get a Pop-up window SDK Locations
- You can change the path of the SDK under Android SDK location : text filed.
- Make changes to the path and Click Apply
- We are done!
More Posts related to Android,
- Check Internet Connection WIFI 4G is active on Android Programmatically
- Android Emulator cannot be opened because the developer cannot be verified. [M1 Mac]
- How to Change Android Toast Position?
- Fail to connect to camera service Android java RuntimeException
- How to create Custom RatingBar Android Programming Tutorial
- Fixing Android unknown error 961 while downloading app
- Android AlertDialog with Yes No and Cancel Button
- Share or Send SMS via Android Intent
- The Android Virtual Device myEmulator is currently running an emulator and cannot be deleted.
- Pass data between two Android Activities and access it using Intent
- SQLite with Android Easy to Understand Tutorial that covers Select, Insert, Update and Delete
- [FIX] AndroidRuntime: FATAL EXCEPTION: main - java.lang.RuntimeException NullPointerException
- Android EditText Cursor Colour appears to be white
- Android Development - How to switch between two Activities
- Android xml error Attribute is missing the Android namespace prefix [Solution]
- Android : Remove ListView Separator/divider programmatically or using xml property
- Android is starting optimizing... app 1 of 1
- java.lang.NoClassDefFoundError android.support.v4.content.LocalBroadcastManager
- AlertDialog with single button example : Android
- Android : Exception raised during rendering: action_bar API 22
- Maven : java.lang.ClassNotFoundException: Xmx512m
- Android Lint app_name is not translated in af (Afrikaans) am (Amharic) ar (Arabic) bg (Bulgarian)
- Center align text in TextView Android Programming
- How to Download and Install Android adb Tool on Linux, Mac or Windows
- Multiline EditText in Android Example
More Posts:
- [fix] Java JDBC SQLSyntaxErrorException: Unknown database - Java
- New-SPLogFile PowerShell - create new SharePoint log file - SharePoint
- Android: Unknown error code during application install : - Android
- Java JDBC Transition Management using PreparedStatement Examples - Java
- fix macOS: The digital signature on the update is missing or invalid. Ventura - MacOS
- How to redirect SharePoint Site Collection to different URL - SharePoint
- How to lock cells in Microsoft Excel for Mac - Windows
- How to URL Decode a Query String in Python - Python