2048
2048 copied to clipboard
Making building easier
Here are just a few things that I ran into that might make it easier for others to build, you might want to consider adding them to the readme:
-
libs/google-play-services_lib/local.properties will cause a build error since it's pointing to tito's home directory ->
sdk.dir=/home/tito/.buildozer/android/platform/android-sdk-21
I suggest adding this to the .gitignore, or otherwise telling people to update it to point to their sdk. -
I ran into the “Unable to resolve target 'android-10'” error because I did not download the sdk for this version of the google-play-services_lib. It seems Buildozer will not pick up on that.
-
By default the
app_id
is not assigned, and this can be done ares/values/ids.xml
file that looks as follows:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_id">123456789012</string>
</resources>
Thanks for the awesome work tito! :+1:
Totally agreed. This was actually my Proof of Concept of using the Google Play/Games API with Kivy. I expect do merge my knowledge with the future Game center for iOS in one library. Still, this game can be checked as a starting point.
I'll update the README as suggested.
Yes, I've reproduced your PoC with my own game: it works. Needs the libs folder, gs_android.py, and the 3 steps I needed to build it. Good stuff.
Great information. Thanks Tito. And thanks for the help in IRC.