Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLUGIN IS DEPRECATED: com.google.playservices #36

Open
bau720123 opened this issue May 22, 2015 · 5 comments
Open

PLUGIN IS DEPRECATED: com.google.playservices #36

bau720123 opened this issue May 22, 2015 · 5 comments

Comments

@bau720123
Copy link

just feedback...
EddyVerbruggen/cordova-plugin-googleplus#62

the "PushNotification" also have this problem too

@maxrevilo
Copy link

I wanted to make a PR so in plugin.xml line 37 I changed

<dependency id="com.google.playservices" url="https://github.com/MobileChromeApps/google-play-services.git"/>

for

<framework src="com.google.android.gms:play-services-plus" />
<framework src="com.google.android.gms:play-services-identity" />

Just like the documentation says, but then I get this error building Android:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'android'.
> Cannot evaluate module play-services-plus : Configuration with name 'debug' not found.

Am I the only one with this problem?

@EddyVerbruggen
Copy link

Thanks for your attempy @maxrevilo. I'm guessing you're using the latest Cordova CLI and ran into this? Perhaps it's best to open an issue at the https://github.com/MobileChromeApps/google-play-services.git repo since that's where the change originates.

@agrieve
Copy link

agrieve commented Jun 8, 2015

Sounds like you don't have the "Google Repository" installed. You can add it via the Android SDK Manager. (type android into a terminal). Also be sure you're using cordova-android 4.0 or greater.

@maxrevilo
Copy link

Hi @EddyVerbruggen, I'm using Cordova 4.2, and looks @bau720123 opened the issue (thanks) , lets see what the people of google play services say.

Hi @agrieve I double checked that, I have Google Repository Ver. 19. Perhaps I have two installations of the Android SDK, do you know how can I check that?

Did any of you tried changing the dependency tag for the frameworks tags? does that work for you?

@keab42
Copy link

keab42 commented Jul 7, 2015

Hopefully this should correct the issue: #52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants