简体   繁体   中英

Google play game services integration after new update

Important : The Play Games services APIs have been revised to support the simplified Google API client programming model for Google Play services. The previous Games client is deprecated as of February 7th, 2014. Existing and new developers are strongly encouraged to use GoogleApiClient instead of the deprecated GamesClient.

I have properly imported google-play-services_lib , BaseGameUtils and linked everything properly, but imports like this, no longer work:

import com.google.android.gms.games.Games;    

The import com.google.android.gms.games.Games can not be resolved

I am having real trouble integrating Google Play Services with GamesClient deprecated. All the online resources for implementation haven't been revised to the new model.
This is my first game with Google play services and i have become extremely frustrated as a result from days of failure, can someone shine a little clarity on the new programming model and how to implement it?

I have the latest google Play Service Library and in it import com.google.android.gms.games.Games; works..so you have to update your google play service library

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM