buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:0.10.+' } } repositories { mavenCentral() } apply plugin: 'android' android { compileSdkVersion 19 buildToolsVersion "20" defaultConfig { minSdkVersion 10 targetSdkVersion 19 } sourceSets { main { manifest.srcFile 'AndroidManifest.xml' java.srcDirs = ['src'] res.srcDirs = ['res'] } } } dependencies { compile 'com.android.support:appcompat-v7:19.0.1' }