i need oauth 2.0 token authorize requests google rest apis. need import google play service sdk. the:
google account login com.google.android.gms:play-services-identity:8.1.0
i using eclipse want import google account login api, there no instructions on how so.
if there no solution, how can grab jar referenced in dependencies android studio projects https://developers.google.com/android/guides/setup
there solution guess. try this:
- go "android_sdk\extras\google\m2repository\com\google\android\gms\play-services-identity\8.1.0\"
- copy "play-services-identity-8.1.0.aar" eclipse project's /libs directory.
- open "project.properties" file , add line: android.libraries.reference.1=libs/play-services-identity-8.1.0/ , run application.
and if didn't work, try setting project com.google.android.gms:play-services-identity:8.1.0 in android studio , import/export gradle project in/for eclipse. resolves included dependencies automatically work eclipse.
hope helps.
Comments
Post a Comment