Good morning!
I'm trying to import google-api-java-client from github
to my Android project ;
I'm using AndroidStudio
, and follow my build.glade
apply plugin: 'com.android.application'
apply plugin: 'maven'
android {
compileSdkVersion 22
buildToolsVersion "23.0.0 rc3"
defaultConfig {
applicationId "br.com.meu.projeto"
minSdkVersion 16
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
mavenCentral()
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.2.1'
compile 'com.google.android.gms:play-services:7.5.0'
compile 'com.google.code.gson:gson:2.2.+'
compile 'com.readystatesoftware.systembartint:systembartint:1.0.3'
compile 'com.google.api-client:google-api-client:1.19.1'
}
All other libraries are usually available, except for google-api-client. I can not import classes with GoogleAccountCredential
.
Does anyone know the right way to import?
Thank you in advance!