Google play services rev 30 and above
Cocos Helper (C++)-
AzamatLikes 0Problem Description
Hello, Sonar Systems!
First of all, thanks for great tutorials. They helped me alot.
But I have some problems related to Google play services integrating process. I followed cocos Helper (c++) tutorials – C++ | Android Cocos Helper - Setting Up Google Play Game Services.
I’m using cocos2d-x v3, Google Play services rev 32 and eclipse neon.
As we know in new google play services rev 30 and above we don’t have google-play-services_lib project file.
Could you please provide me a brief tutorial how can I integrate it into my project?
What steps should I follow to get it worked in my android project?
Sincerely,
Azamat Nurzhanuly.
-
Sonar Systems adminLikes 0
Hello Azamat,
For now I would recommend using the old version and we are working on some awesome tutorials.
Kind regards
Frahaan Hussain
-
AzamatLikes 0
Thank you, Frahaan, for fast respond!
I’ll try and close this question, if it works for me.
-
AzamatLikes 0
ok, it solved my problem.
I’ve installed the old version of google play services ver 29, it has needed google-play-services_lib project and google-play-services_lib.jar file.
Then, I had some problems related to androi-support-v4.jar file. In my new android sdk’s Android Support Repository’s (rev 36) android-support-v4.jar file I have no util.ArrayMap class. So I installed new library and linked it in eclipse.
Finaly, after all configuration routins in eclipse, I compiled and ran the project. But my app closed immediately before even started in Emulator.
The thing is that there were no Google play services.
So creating a new AVD emulator with target Android 6.0 (23) and CPU/ABI Google API’s intel atom (x86) solved my last problem.
Hope it will help someone.
Links:
Google play services rev 29 – https://dl-ssl.google.com/android/repository/google_play_services_8487000_r29.zip
You also can find other old versions here – http://stackoverflow.com/questions/20982533/how-to-download-older-google-play-services
android-support-v4.jar file – https://github.com/MobileChromeApps/cordova-plugin-android-support-v4/raw/master/android-support-v4.jarThis reply has been verified.
-
Sonar Systems adminLikes 0
Great to hear you managed to solve the issue.
Login to reply