java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Admob Native Express Ads
    via Stack Overflow by Rajubhai Rathod
    ,
    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.vmapps.quotesking/com.vmapps.quotesking.material.QuoteViewActivity}: java.lang.IllegalStateException: The ad size and ad unit ID must be set before loadAd is called. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2699) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2773) at android.app.ActivityThread.access$900(ActivityThread.java:177) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1434) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5930) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200) Caused by: java.lang.IllegalStateException: The ad size and ad unit ID must be set before loadAd is called. at com.google.android.gms.ads.internal.client.zzab.zzdg(Unknown Source) at com.google.android.gms.ads.internal.client.zzab.zza(Unknown Source) at com.google.android.gms.ads.BaseAdView.loadAd(Unknown Source) at com.google.android.gms.ads.NativeExpressAdView.loadAd(Unknown Source) at com.vmapps.quotesking.material.QuoteViewActivity.onCreate(QuoteViewActivity.java:209) at android.app.Activity.performCreate(Activity.java:6178) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2652) ... 10 more
    No Bugmate found.