user3693265
user3693265

Reputation: 109

import com.google.api.client.googleapis.extensions not found

Why "import com.google.api.client.googleapis.extensions not found" is my case? I'm using android studio, android sdk 1.7. I'm also add dependencies :

compile 'com.google.android.gms:play-services:9.4.0'
compile 'com.google.api-client:google-api-client:1.19.0' exclude module: 'httpclient'
compile 'com.google.http-client:google-http-client-gson:1.19.0' exclude module: 'httpclient'

Thanks alot!

Upvotes: 0

Views: 1096

Answers (1)

rggammon
rggammon

Reputation: 103

You need add "-android", eg: compile 'com.google.api-client:google-api-client-android:1.22.0'

(eg: the -android flavor)

https://github.com/google/google-api-java-client-samples/blob/master/tasks-android-sample/build.gradle has an example.

Upvotes: 5

Related Questions