因为Admob 网站有公告Deprecated. On August 1, 2014, Google Play will stop accepting new or updated apps that use the old standalone Google Mobile Ads SDK v6.4.1 or lower. You must upgrade to the Google Play version of the Mobile Ads SDK by then. 

因为Admob 网站有公告

早晚都要换成Google play,所以就找时间试看看.Google 网站还写得满清楚的

 

我就遇到的问题做个纪录

1.Add and reference the Google Play services library project

adt-bundle-windows-x86_64-20130917\sdk\extras\google\admob_ads_sdk 可以找到Google Play services library project

20140414001  

红色的部分记得打勾

 

2.其他部分照Google指示照做即可

3.想不到我的专案加入library后全部都打X,一查是 ADT 14,the constants are not final in a library project. Therefore your code would no longer compile.   

解决办法是Convert the switch statement into an if-else statement.

把滑鼠只到switch,使用快捷键Ctrl+1 转换 if-else 转换后就好了(点两下自动转).

可参考http://blog.csdn.net/javayinjaibo/article/details/8287238

 

相关文章