I just initialised a project on Android Studio, and it was working fine in version 0.2.6, but in 0.2.7, I get this error:
It creates a folder inside my Applications directory, but it does not initialize the project. Any help regarding this problem would be appreciated. I get no problems with version 0.1.1 through version 0.2.6, but when it comes to 0.2.7, things start to get problematic, like this and I can't even start a project.
Just as Leonidos said, install ASR through SDK Manager:
Tools > Android > SDK Manager ; Navigate to the Extras folder, and select Android Support Repositories.
Click install packages and it will work fine
For some reason, if you install Android Studio in the same directory as the SDK, this error will pop up. Just install it somewhere else. For instance, I had it installed at C:\Android\, along with the SDK. Then, I decided to install it at C:\Program Files (x86)\Android Studio and it simply worked.
With 2.7 update I got the same issue. It looks like now Android Studio thinks
sdk
lays in under its own folder atandroid-studio/sdk
.You should be able to use
android
app underandroid-studio/sdk/tools
to get missing components (not tested).Another solution would be to fix
sdk
path (tested):Close any projects then drop to
Welcome to Android Studio Dialog
to solve this problem I used this link: Downloading the Support Libraries
You must manually run SDK Manager.
Folder:
android-studio/sdk/tools
Search for
android
orandroid-sdk
The new Support Repository must be already selected, and you need only click the "Install" button.
got the same problem when applying the last patch (2.7). I've resolved it by copying SDK Manager.exe from android-studio\sdk\tools\lib to android-studio\sdk\ then I've launched it and install the missing component.
After restarting Android Studio it works again !