2
我无法构建Google提供的示例游戏TypeANumberChallenge
(请参阅GitHub)。得到了以下错误消息:Google Player游戏服务错误:无法构建示例游戏
The project was not built since its build path is incomplete. Cannot find the class file for com.google.android.gms.games.GamesClient. Fix the build path then try building this project
The type com.google.android.gms.games.GamesClient cannot be resolved. It is indirectly referenced from required .class files MainActivity.java /TypeANumber/src/com/kerrywei/games/tanc
我确实包括项目库BaseGameUtils
以及由readme和Google Play Services Guides描述,但仍然得到了错误,而不能随便编的Google Play服务-lib目录下。 ..
更新: 我试图删除TypeANumberChallenge
和重做整个过程中,得到了尝试添加BaseGameUtils
为库时,新的错误:
An internal error occurred during: "Android Library Update".
Path must include project and resource name: /BaseGameUtils
如果要更新的谷歌播放,services_lib你会需要重新导入项目。新版本更新不会自动添加到Eclipse工作区,只会添加到SDK文件夹,因此您的其他Eclipse项目将无法看到。 – dmanxiii