The Google Mobile Ads SDK is no longer available as a standalone SDK.

真是悲慘的消息,admob又改了...

 Android 4.4後,

The Google Mobile Ads SDK for Android is now a part of the Google Play services platform.
It is no longer available as a standalone SDK.

所以出現紅字了...
不能compile了....

See the setup instructions and reference docs for details on setting up Google Play services.
The Google Play services library supports even devices that don't have the Google Play store. To update such devices, download and bundle the latest Google Play services SDK; then relaunch your apps to propagate updates to your users. Devices that do have the Google Play store are automatically updated to the latest version.
The Google Play services library does support publisher IDs from the legacy AdMob console, and is compatible with existing mediation adapters.

要用新方法~~

留言

這個網誌中的熱門文章

最爛的銀行服務-玉山銀行

Mark App Design Apps - Terms and Privacy Policy (服務條款,隱私權政策)

SMR疊瓦式hdd致命缺陷被解決????!!!

ios app 上架時app icon要注意事項

更改google drive預設存放目錄位置Change Google Drive Default Folder Location in Windows

google play 正式發布前測試報告...非常好用.

舊有app在Android 12 閃退問題& app Splash screens

app bundle and bundletool. 關於aab安裝問題

關於google play console app應用程式簽署

Google Play badge徽章產生器