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

问题描述

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

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

解决方案
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不能被解析为一个类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 12:19