After some trial and error and thanks to @pyus13 and @Prototik tips, I was able to run my project using Android Studio. I removed all local copies of the dependency libraries, except for the ViewPagerIndicator. Here are the working gradle files:
settings.gradle:
include ':app'
include 'ViewPagerIndicator'
project(':ViewPagerIndicator').projectDir = new File(settingsDir, 'libraries/Android-ViewPagerIndicator/library')
build.gradle in the 'app' directory:
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'org.holoeverywhere:plugin:0.2.+'
}
}
apply plugin: 'holoeverywhere'
apply plugin: 'android'
repositories {
mavenCentral()
}
holoeverywhere {
addons {
create 'preferences'
create 'slider'
}
library {
version '2.1.0'
}
}
android {
compileSdkVersion 19
buildToolsVersion '19.0.1'
defaultConfig {
minSdkVersion 10
targetSdkVersion 19
}
}
dependencies {
compile 'com.google.android.gms:play-services:4.0.30'
compile 'com.google.code.gson:gson:2.2.+'
compile 'com.mcxiaoke.volley:library-aar:1.0.+@aar'
compile 'fr.avianey:facebook-android-api:3.6.+@aar'
compile project(':ViewPagerIndicator')
}