M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

IS BEING ABLE TO INCORPORATE GOOGLE PLAY SERVICES TOO MUCH TO ASK FOR???

I believe the maven plugin version is 3.6.1?

If then I cannot use .aar right? so I have to use apklib?

This way?
code
<dependency>
<groupId>com&#46;google&#46;android&#46;gms</groupId>
<artifactId>google-play-services</artifactId>
<version>13&#46;0&#46;0</version>
<type>apklib</type>
</dependency>

<dependency>
<groupId>com&#46;google&#46;android&#46;gms</groupId>
<artifactId>google-play-services</artifactId>
<version>13&#46;0&#46;0</version>
</dependency>
/code

Thanks,
M&M

Egor Kotov6832188
Posts: 0
Joined: Wed Nov 19, 2014 5:15 pm

IS BEING ABLE TO INCORPORATE GOOGLE PLAY SERVICES TOO MUCH TO ASK FOR???

M&M,

I believe the maven plugin version is 3.6.1?

It doesn't matter what maven version

If then I cannot use .aar right? so I have to use apklib?
I can't see reason why you can't use jar, if this topic related to adding jar files to Appery.io project structure.

This way?
Yes.

M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

IS BEING ABLE TO INCORPORATE GOOGLE PLAY SERVICES TOO MUCH TO ASK FOR???

It doesn't matter what maven version

From what I've heard
pre
"&#46;apklib" with android-maven-plugin If less than 3&#46;8&#46;1
"&#46;aar" with android-maven-plugin For 3&#46;8&#46;2 and above
/pre

I can't see reason why you can't use jar, if this topic related to adding jar files to Appery.io project structure.

And I mentioned .aar and not jar

I tried the way I mentioned and I got a huge bunch of errors. Didn't have the slightest idea that including Google Play Services in Appery will need the same effort as sending a man to space

Tarun Srivastava
Posts: 0
Joined: Fri Apr 17, 2015 9:49 pm

IS BEING ABLE TO INCORPORATE GOOGLE PLAY SERVICES TOO MUCH TO ASK FOR???

M&M,
I am in the similar boat.
I have a slightly different take on the problem. Appery provides certain services and they do not promise beyond that.
I have signed up for monthly services and am trying some critical things that I need for my app.
I also need to use Google Play and so far I have realized that it will get too complicated with Android Studio not being supported and Google Play Services. So basically Appery becomes a tool for pretty mobile UI but services aren't really possible in complex scenarios.
And that is by design. Appery may chose to support few complex scenarios like yours or mine or may chose to support a broader audience with basic needs.
Life is hard I know:)

M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

IS BEING ABLE TO INCORPORATE GOOGLE PLAY SERVICES TOO MUCH TO ASK FOR???

Yup, I get that too. But think of it - google ain't really a third/unknown party anymore. And not being able to incorporate google play services (quite a few important things like admob etc rely on this as a dependency) was a little depressing, and hence my rant, and the post.title.toUpperCase()

I actually wanted to incorporate one of those battery saving background Geolocation (using ActivityRecognition and FusedLocationProvider APIs) thingy and I was at a dead end! I simply need google play services dependency for my stuff to work. It's not easy to make an u-turn on your development environment / IDE half way through your work ",). Should I be writing native apps that ain't super easy...well, still pondering

Life's hard - yup, sane people realize that by the time they are 18-20 years old ",)

Madi Anas
Posts: 0
Joined: Thu Sep 03, 2015 9:52 pm

IS BEING ABLE TO INCORPORATE GOOGLE PLAY SERVICES TOO MUCH TO ASK FOR???

This worked for google support v4 library that I uploaded to /repo/ and another msn repository dependency. Thank you for that!
Now I am trying to use the same approach for google-play-services and I keep getting unknown compiling error.
https://getsatisfaction.com/apperyio/...

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

IS BEING ABLE TO INCORPORATE GOOGLE PLAY SERVICES TOO MUCH TO ASK FOR???

Hello Madi, let's continue discussion there.

Return to “Issues”