错误 - 进口com.google.android.gms.ads不能得到解决 [英] Error - The import com.google.android.gms.ads cannot be resolved

查看:3012
本文介绍了错误 - 进口com.google.android.gms.ads不能得到解决的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遵循谷歌developpers指令,但我有一个问题。我想展示宣传(通过AdMob)和谷歌在我的应用程序Play游戏服务。

I follow instruction from Google developpers but i have a problem. I want display publicity ( with AdMob ) and Google Play Game services on my application.

我展示成功的宣传和它的工作(我用谷歌播放服务LIB)。但是,当我想补充库使用谷歌Play游戏服务的BaseGameUtils,我有一个错误。

I display publicity with success and it's work ( I use google play services lib ). But when I want to add the BaseGameUtils library to use Google Play Game Services, I have an error.

我的导入哪些工作previously做新库导入后没有工作。

My import which work previously doesn't works after the new library import.

进口com.google.android.gms.ads无法解析

我不删除谷歌播放服务的lib那么为什么会出现错误?

I don't remove google play services lib so why the error appears ?

感谢

推荐答案

转到您的Java构建路径,项目标签下添加的lib,然后下订单和放大器;出口标签勾选你的lib,应用设置。
最后只是清理项目和lib,它应该正常工作...

Go to your java build path, under project tab add your lib and then under order & export tab tick your lib, apply settings. At last just clean the project and lib, it should work properly...

这篇关于错误 - 进口com.google.android.gms.ads不能得到解决的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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