I can't build android_core in Android Studio 0.5.1
I want to build android_core (https : //github.com/rosjava/android_core/tree/hydro) project. It worked before but I can't build the project (Hydro branch) since I've updated Android Studio to 0.5.1.
I cloned the repository, then I switched to Hydro branch. Command "./gradlew assemble" worked fine but when I tried to build the project in Android Studio it said:
12:29:20 PM Failed to refresh Gradle project 'android_core' The project is using an unsupported version of the Android Gradle plug-in (0.7.1). Version 0.9.0 introduced incompatible changes in the build language. Please read the migration guide to learn how to update your project. Open migration guide, fix plug-in version and re-import project
I tried different ways: Gradle 1.9, 1.10, 1.11, I changed "gradle-wrapper.properties", even added:
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.9.+'
}
}
to all android_core projects. That doesn't help.