i want to switch my project from eclipse to android studio with gradle support and get this failure message
Gradle 'Test' project refresh failed: Could not find property 'android' on root project 'Test'.
Could you help me? I have a project with a few sublibraries
This is my top level build.gradle
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.9.+'
}
}
apply plugin: android
allprojects {
repositories {
mavenCentral()
}
}
compile project('Test')