Android: package com.google.api.services.gmail does not exist -
as documentation: https://github.com/google/google-api-java-client
to use gradle, add following lines build.gradle file: repositories { mavencentral() } dependencies { compile 'com.google.api-client:google-api-client:1.18.0-rc' }
done, get:
error: package com.google.api.services.gmail not exist
what reason ?
you adding google api , trying use gmail api. why getting error: package com.google.api.services.gmail not exist
.if want use gmail api add gmail api client library adding compile 'com.google.apis:google-api-services-gmail:v1-rev29-1.20.0'
ref: https://developers.google.com/api-client-library/java/apis/gmail/v1
Comments
Post a Comment