I am installing the Android SDK along with Eclipse in mac os. Whenever I try to start a new project development I get an error location of the android sdk has not been setup in the preferences
How do I resolve this problem?
The location of the folder is located in the text box near the top that says “Android SDK Location”. By default the Android SDK location is stored at “/Users/[USER]/Library/Android/sdk” or at “/Library/Android/sdk/”.
For Windows, start Android Studio, then click File —> Settings menu item. For macOS, start Android Studio, then click Android Studio —> Preferences menu item. Select Appearance & Behavior —> System Settings —> Android SDK menu item in the popup window left side.
Close the current project and you'll see a pop-up with a dialog which will then proceed to Configure option. Configure -> Project Defaults -> Project Structure -> SDKs on left column -> Android SDK Home Path -> give the exact path as you did on local. properties and select Valid Target.
Hi try this in eclipse: Window - Preferences - Android - SDK Location and setup SDK path.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With