Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: Please select Android SDK in Android Studio 2.0

I am using Android Studio 2.0 Beta2, and i am trying to run old project that uses google maps api v1 (package com.google.android.maps) as *.jar file. To run this old project i need specify compileSdkVersion older than the last one (23). I used

compileSdkVersion 'Google Inc.:Google APIs:17'

But i got Error: Please select Android SDK error in Android Studio. How i can run this old project with older compileSdkVersion?

like image 623
Lester Avatar asked Feb 08 '16 15:02

Lester


People also ask

How do I fix Android SDK missing?

Quick fix: Go to the Tools –> SDK manager –> SDK tools. Deselect Hide obsolete packages option on the right bottom and further install Android SDK Tools(obsolete). A new folder named Tools is now generated in the SDK directory.

How do I choose Android SDK version?

After you install and open Android Studio, install the Android 11 SDK as follows: Click Tools > SDK Manager. In the SDK Platforms tab, select Android 11. In the SDK Tools tab, select Android SDK Build-Tools 30 (or higher).


2 Answers

Also just sync the project from the tool bar refer the image

like image 161
abi Avatar answered Oct 10 '22 10:10

abi


the easiest way is to:

Tools -> Android -> Sync Project with Gradle Files (Android Studio 3.0.1)

like image 8
Thiago Avatar answered Oct 10 '22 10:10

Thiago