Closed grapefrukt closed 9 years ago
This error was encountered using haxe 3.2.0, openfl 3.4.0 and lime 2.7.0.
Turns out that manually copying android-support-v4.jar
into bin\android\bin\deps\gpgex\libs
(where bin is my build folder) does resolve this issue, so it shouldn't be a huge problem to fix.
I am, however not familiar enough with the android build system to know where to add this.
Hi, you don't need to copy anything. Thing is: To use google play games (you need to have google-play-services_lib and android-support-v4) downloaded into your android SDK Folder (using the android sdk manager) - please read: https://github.com/SempaiGames/extension-googleplaygames/blob/master/README.md#how-to-install
Also, you need to upgrade to the last versions of extension-googleplaygames, extension-googleplayservices-lib and extension-android-support-v4 on haxe (this should be done automatically but running haxelib upgrade).
One thing: I've added missing dependency on this extension (so upgrading the extension may fix your issue right away).
Anyway, having to download this files from the android SDK manager is not something we can fix, as there's something that according to google terms and conditions every developer must do on it's own (really annoying). That's why we cannot include the required JARs from google directly on the extensions (Bad dog Google! bad dog! :-1: )
PS: I think in the future we'll be able to check if those files are already downloaded so we can raise an error in case they're missing telling people exactly what to do :+1: (I'll insist Joshua on that).
Thanks!
I'm sorry! I didn't see the android-support-v4 dependency, I guess I got confused since I had it working and then broke it. Thanks!
Not your fault :P android-support-v4 was silently added as a dependency few weeks ago by google.
I'm getting this crash as soon as I call
extension.gpg.GooglePlayGames.init(false)
, everything was working previous to upgrading to the latest Android Support Library (23.1.1) and Google Play Services (28).I'm looking into reverting these upgrades now, but this seems like a problem that will need dealing with eventually.