Reputation:
After downloading the latest update of Android Studio Beta. I am receiving errors such as the following:
3:07:53 PM ProcessNotCreatedException: Cannot run program "/Applications/Android Studio.app/sdk/tools/android": error=2, No such file or directory: Cannot run program "/Applications/Android Studio.app/sdk/tools/android": error=2, No such file or directory
The problem is that I am unable to find out what to put in SDK Location.
So I am stuck because I cannot even open new projects, compile, build, open SDK manager etc.
My local.properties is:
## This file is automatically generated by Android Studio.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file should *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
sdk.dir=/Applications/Android Studio.app/sdk
I am unsure how to resolve this error. I have been following the information I found here, but no luck:
Android Studio - SDK is out of date or is missing templates
Gradle build errors after updating Android Studio
Upvotes: 1
Views: 2207
Reputation: 241
I came across the same problem today. After installation of Android Studio 1, it won't find the SDK and throw the same error. I was expecting a wizard which will automatically download the SDK but there wasn't. I cleaned ~/Library/Preferences/AndroidStudio and relaunched AndroidStudio. That's when the SDK installation wizards came up and installed the SDK.
Upvotes: 0
Reputation: 83577
I have been using Android Studio for some time now and haven't tried to install fresh with just the Beta version which is supposed to include the SDK now. Since it didn't seem to install with your Android Studio Beta installation, you can try installing it separately. Go here and click on "GET THE SDK FOR AN EXISTING IDE". One advantage is this allows you a little more control and you will know exactly where the SDK is installed.
Upvotes: 1