Android:无法在Eclipse中成功导入BaseGameUtils [英] Android: cannot import BaseGameUtils successfully in Eclipse

查看:117
本文介绍了Android:无法在Eclipse中成功导入BaseGameUtils的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的android项目中使用游戏api。

我按照Google站点
(部分 - 设置你的游戏项目)从以下链接。
https://developers.google.com/games/services/android/init



我已经从此链接
BaseGameUtils 库。 com / playgameservices / android-samplesrel =nofollow> https://github.com/playgameservices/android-samples

然后导入它作为一个项目描述在指令中。

然而,我得到的是一个名为 main 的项目,但不是 BaseGameUtils
$ b

然后我无法在我的android项目中调用它的 BaseGameActivity



<如何解决这个问题?

解决方案

解决。

导入项目时,不要选择BaseGameUtils文件夹,而是选择根文件夹'android-samples-master'。然后检查名为BaseGameUtils的项目。


I want to use game api in my android project.

And I get started by following the instructions described in Google Site (the part - Setting up your game project) from the following link. https://developers.google.com/games/services/android/init

I have downloaded the library BaseGameUtils from this link https://github.com/playgameservices/android-samples

Then I import it as a project as described in instruction.

However, what I've got is a project named main but not BaseGameUtils.

And then I cannot called its BaseGameActivity in my android project.

How can I solve it?

解决方案

Solved.

When importing project, not to select BaseGameUtils folder, but the root folder 'android-samples-master'. Then check the project named BaseGameUtils.

这篇关于Android:无法在Eclipse中成功导入BaseGameUtils的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆