2048 icon indicating copy to clipboard operation
2048 copied to clipboard

Making building easier

Open rvantonder opened this issue 10 years ago • 3 comments

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:

  1. 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.

  2. 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.

  3. By default the app_id is not assigned, and this can be done a res/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:

rvantonder avatar Mar 25 '14 13:03 rvantonder

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.

tito avatar Mar 25 '14 22:03 tito

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.

rvantonder avatar Mar 26 '14 20:03 rvantonder

Great information. Thanks Tito. And thanks for the help in IRC.

itwageslave avatar Apr 02 '14 20:04 itwageslave