Android app fail to start after adding admob

后端 未结 4 1530
灰色年华
灰色年华 2020-12-03 16:37

I\'m trying to implement admob in my app, but the app failed to start after I added it.

This is the activity code: http://code.google.com/p/zhuang-dict/source/browse

4条回答
  •  离开以前
    2020-12-03 17:11

    Make sure you are initializing AdMob, otherwise you will get this error:

    Fail to get isAdIdFakeForDebugLogging

    MobileAds.initialize(this, AD_MOB_ID);
    

提交回复
热议问题