Google services support

182 views
Skip to first unread message

Sergey Cheparev

unread,
Dec 27, 2014, 1:27:39 PM12/27/14
to kivy-...@googlegroups.com
As promised, I've sketched google play services client and have written small intruction here:


Just FYI and if someone will also want leaderboards and achievements using google play services in his/her kivy app.

Happy New Year!

ZenCODE

unread,
Dec 28, 2014, 1:31:27 PM12/28/14
to kivy-...@googlegroups.com
:-) Thanks, added to the wiki....

Alexander Taylor

unread,
Dec 28, 2014, 6:29:05 PM12/28/14
to kivy-...@googlegroups.com
This is really great, thanks!

Sergey Cheparev

unread,
Dec 29, 2014, 1:34:37 PM12/29/14
to kivy-...@googlegroups.com
Seems like I've done the same as google client in Tito's 2048 :-P

Mon Dec 29 2014 at 12:29:07 AM, Alexander Taylor <alexander...@gmail.com>:
--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/bDbxzz_R_Vo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Damien Moore

unread,
Dec 29, 2014, 2:45:14 PM12/29/14
to kivy-...@googlegroups.com
But tito's 2048 uses gamehelper stuff, and it appears you don't? That's a plus (i still can't build gamehelper)

Sergey Cheparev

unread,
Dec 29, 2014, 2:46:47 PM12/29/14
to kivy-...@googlegroups.com
That is correct, I don't.

Mon Dec 29 2014 at 20:45:17, Damien Moore <damien...@gmail.com>:
But tito's 2048 uses gamehelper stuff, and it appears you don't? That's a plus (i still can't build gamehelper)

--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/bDbxzz_R_Vo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+unsubscribe@googlegroups.com.

Damien Moore

unread,
Dec 29, 2014, 6:53:40 PM12/29/14
to kivy-...@googlegroups.com
Where does pyjnius need to be installed? Do you have a command line?

Sergey Cheparev

unread,
Dec 29, 2014, 7:11:15 PM12/29/14
to kivy-...@googlegroups.com
Normally in virtualenv (if you use it) or globally with root:


Tue Dec 30 2014 at 0:53:44, Damien Moore <damien...@gmail.com>:
Where does pyjnius need to be installed? Do you have a command line?

Damien Moore

unread,
Dec 30, 2014, 3:44:02 AM12/30/14
to kivy-...@googlegroups.com
Installing pyjnius globally didn't work. I had to use the .buildozer/venv/...
before that I had to use venv to install cython. (This seems very hacky to me.)


Anyway, now I have the following error

[aapt] /home/XXX/src/wordassembly/.buildozer/android/platform/python-for-android/dist/slidewords/bin/AndroidManifest.xml:25: error: Error: No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version').
[aapt]

Where and to what value does one set the google_play_services_version ?

Sergey Cheparev

unread,
Dec 30, 2014, 7:17:24 PM12/30/14
to kivy-...@googlegroups.com
Can you post the line 25 of AndroidManifest.xml? I think you have not set meta tag in buildozer spec. Is this error from pyjnius installing process? Which os do you use? If ubuntu, you can install cython system wide with apt

Tue Dec 30 2014 at 9:44:05, Damien Moore <damien...@gmail.com>:

Damien Moore

unread,
Jan 3, 2015, 1:16:35 AM1/3/15
to kivy-...@googlegroups.com
(Was offline for a few days)

Line 25 says: <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>

Isn't that what it should be?

The closest matching issue on stackoverflow seems to be this one: http://stackoverflow.com/questions/19843784/google-play-services-library-update-and-missing-symbol-integer-google-play-serv

And this suggests that I need to add the play services lib so maybe you just forgot to add this step to your instructions? To do this I used the android tool (~/.buildozer/android/platform/android-sdk-20/tools/android) to get the google-play-services_lib from extras, copied it to my project under libs, added it to buildozer using "android.library_references = libs/google-play-services_lib", then had to do "~/.buildozer/.../tools/android update lib-project --path libs/google-play-services_lib --target 1" to generate the build.xml for the lib. After that I could do the buildozer android release after following your other instructions.

Anyway, after I do this I get a successfully compiled binary and it appears to be working, at least for leaderboards.

Sergey Cheparev

unread,
Jan 3, 2015, 8:56:56 AM1/3/15
to kivy-...@googlegroups.com
Which is exactly described in the last post (http://cheparev.com/kivy-recipe-google-analytics-and-bug-monitoring/), which I reference in the first sentence of the post. More attention :)

Sat Jan 03 2015 at 7:16:37 AM, Damien Moore <damien...@gmail.com>:

Damien Moore

unread,
Jan 3, 2015, 4:07:30 PM1/3/15
to kivy-...@googlegroups.com
touche :)

OptimusGREEN

unread,
Aug 21, 2018, 9:33:36 AM8/21/18
to Kivy users support
is there an updated link for this? seems to be broken link


On Saturday, 27 December 2014 18:27:39 UTC, Sergey Cheparev wrote:
Reply all
Reply to author
Forward
0 new messages