Why am I getting an error message when I try to set up a New Project in Android Studio?

taoufik109

New member
Jan 23, 2015
2
0
0
Visit site
PROBLEM with ANDROID STUDIO NO SDK FOUND. PLEASE CONFIGURE AN ANDROID SDK

Hello,
When I create a new project in android studio I have the following message:

rendering Problems
No Android SDK found. Please configure an Android SDK.

While everything is set up for me (JAVA_HOME, PATH), everything is installed when I check in the SDK Manager.

Here are the contents of my file build.gradle

apply plugin: 'com.android.application'

android {
compileSdkVersion 21
buildToolsVersion "21.1.2"

defaultConfig {
applicationId "com.example.taoufik.test1"
minSdkVersion 14
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:21.0.3'
}