Android:无法在Eclipse中成功导入BaseGameUtils [英] Android: cannot import BaseGameUtils successfully in Eclipse
问题描述
我按照Google站点
(部分 - 设置你的游戏项目)从以下链接。
https://developers.google.com/games/services/android/init
然后导入它作为一个项目描述在指令中。
然而,我得到的是一个名为 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屋!