Problem with admob

My app builds fine,
but on device I get this error:

How can I fix it?

Thanks

java.lang.RuntimeException: Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.IllegalStateException:



at android.app.ActivityThread.installProvider(ActivityThread.java:6398)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:5900)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5808)
at android.app.ActivityThread.-wrap1(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1685)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:6651)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:824)

Caused by: java.lang.IllegalStateException:



at com.google.android.gms.internal.ads.zzzt.attachInfo(com.google.android.gms:play-services-ads-lite@@19.7.0:24)
at com.google.android.gms.ads.MobileAdsInitProvider.attachInfo(com.google.android.gms:play-services-ads-lite@@19.7.0:3)
at android.app.ActivityThread.installProvider(ActivityThread.java:6386)
... 10 more

That’s probably because Admob is not supported on simulator. Have you checked your build.settings for this: https://docs.coronalabs.com/plugin/admob/index.html#project-settings

I think was ok with build.settings because before I couldn’t build, after got it right I was able to create the build. I saw something on the net about changing my androidmanifest. xml