[英]Could not find class 'com.google.android.gms.ads.AdView', referenced from method com.xxx.xxx.MainActivity.onCreate
I am newbiw to android.Done a new app,using http://myaucir.blogspot.in/2014/08/google-play-game-services-and-admob-in.html
tutorial i did admob related coding. 我是android的新手。使用
http://myaucir.blogspot.in/2014/08/google-play-game-services-and-admob-in.html
教程完成了一个新应用,我做了admob相关编码。
But i am getting error 但是我出错了
Could not find class 'com.google.android.gms.ads.AdView', referenced from method com.xxx.xxx.MainActivity.onCreate
Checked the solution 检查解决方案
https://groups.google.com/forum/?nomobile=true#!search/Could$20not$20find$20class$20$27com.google.android.gms.ads.AdView/google-admob-ads-sdk/_AlmfhrsR_E/GJwoTpOSBoAJ
By this solution i found that,use a old adt and sdk. 通过此解决方案,我发现使用旧的adt和sdk。 But i am started newly, so recently i downloaded adt and sdk.So how can i get old adt and sdk Can anyone help me to resolve .
但是我是新手,所以最近我下载了adt和sdk。那么我怎么能老到adt和sdk谁能帮助我解决。
Your error means that you have to use a recent version of ADT not an older one as you asked in your question. 您的错误意味着您必须使用最新版本的ADT,而不是问题中所使用的较旧版本。 Try this : http://developer.android.com/tools/sdk/eclipse-adt.html
试试这个: http : //developer.android.com/tools/sdk/eclipse-adt.html
最后通过卸载eclipse解决了此错误。下载eclipse http://developer.android.com/sdk/index.html
并通过新版本更新libgdx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.