BaseGame的Util不能被解析为一个类型 [英] BaseGame Util cannot be resolved to a type

查看:194
本文介绍了BaseGame的Util不能被解析为一个类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的项目需要BaseGameUtil库
我有BaseGameUtil库下载的形式这里

但是,当我在我的Andr​​oid项目导入它不显示baseGameUtil相反,它表明主要在我的Eclipse项目增加,甚至当我补充一点,主库我仍然得到同样的错误。


  

谁能帮我。




解决方案

  BaseGameActivity不能被解析为一个类型公共类FisrstActivity延伸BaseGameActivity {


  • 在你的项目中,右键单击> 属性> 的Andr​​oid >在图书馆部分检查,如果你的库是正确的,鸵鸟政策任何显示红叉。


  • 检查同样为你的 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 > in Library section check if your library is correct and don´t show any red cross.

  • Check the same for your BaseGameUtils library, probably the reference to google_play_services is incorrect.

you problem must be similar to : android - import - with developers google com games

这篇关于BaseGame的Util不能被解析为一个类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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