buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:0.8.3' } } apply plugin: 'android' repositories { mavenCentral() maven { url "http://4thline.org/m2" } } dependencies { compile 'com.android.support:appcompat-v7:18.0.+' compile 'com.android.support:mediarouter-v7:18.0.+' compile 'org.teleal.cling:cling-core:1.0.5' compile 'org.teleal.cling:cling-support:1.0.5' } android { compileSdkVersion 19 buildToolsVersion "19.0.3" buildTypes { debug { packageNameSuffix ".debug" } } }