BaseGame的Util不能被解析为一个类型 [英] BaseGame Util cannot be resolved to a type
问题描述
我的项目需要BaseGameUtil库
我有BaseGameUtil库下载的形式这里
但是,当我在我的Android项目导入它不显示baseGameUtil相反,它表明主要在我的Eclipse项目增加,甚至当我补充一点,主库我仍然得到同样的错误。
谁能帮我。
块引用>
解决方案BaseGameActivity不能被解析为一个类型公共类FisrstActivity延伸BaseGameActivity {
在你的项目中,右键单击>
属性
>的Android
>在图书馆
部分检查,如果你的库是正确的,鸵鸟政策任何显示红叉。检查同样为你的
BaseGameUtils
库,可能是参考google_play_services
不正确。您的问题必须类似于:<一href=\"http://stackoverflow.com/questions/19655133/android-import-with-developers-google-com-games\">android - 进口 - 与开发商谷歌COM游戏
my project requires BaseGameUtil library I have BaseGameUtil library downloaded form here
But when i import it in my android project it doesnt show baseGameUtil instead it shows main as added in my eclipse project and even when i add that main library i still get the same error.
Can anyone help me.
解决方案BaseGameActivity cannot be resolved to a type public Class FisrstActivity extends BaseGameActivity{
In your project, right click >
properties
>Android
> inLibrary
section check if your library is correct and don´t show any red cross.Check the same for your
BaseGameUtils
library, probably the reference togoogle_play_services
is incorrect.you problem must be similar to : android - import - with developers google com games
这篇关于BaseGame的Util不能被解析为一个类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!