Google Admob MobileAds.Initialize()问题

时间:2018-09-28 10:28:28

标签: android admob google-admob

我只想问一下您是否有人在应用程序中实施Google AdMob时遇到错误。我遇到此错误,似乎Google Admob尚未初始化。我可能是什么问题?

这是我遇到的有关Google AdMob的错误。

  

android.util.AttributeSet,int,int)(WebView.java:588)           无效android.webkit.WebView。(android.content.Context,android.util.AttributeSet,int)(WebView.java:571)           无效android.webkit.WebView。(android.content.Context,android.util.AttributeSet)(WebView.java:558)           在void android.webkit.WebView。((android.content.Conte 09-28 18:24:58.798 8854-8854 /?I / WebViewFactory:正在加载   com.android.chrome版本69.0.3497.100(代码349710052)           09-28 18:24:58.823 8854-8854 /? I / zygote64:拒绝对先前失败的类java.lang.Class进行重新初始化:   java.lang.NoClassDefFoundError:无法解决以下问题:   Landroid / webkit / TracingController;           在java.lang.Class java.lang.Class.classForName(java.lang.String,boolean,   java.lang.ClassLoader)(Class.java:-2)           在java.lang.Class java.lang.Class.forName(java.lang.String,boolean,java.lang.ClassLoader)(Class.java:453)           在java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader)   (WebViewFactory.java:129)           在java.lang.Class android.webkit.WebViewFactory.getProviderClass()   (WebViewFactory.java:457)           在android.webkit.WebViewFactoryProvider上android.webkit.WebViewFactory.getProvider()(WebViewFactory.java:195)           在android.webkit.WebViewFactoryProvider上android.webkit.WebView.getFactory()(WebView.java:2530)           无效android.webkit.WebView.ensureProviderCreated()(WebView.java:2525)           无效android.webkit.WebView.setOverScrollMode(int)(WebView.java:2590)           无效android.view.View。(android.content.Context)(View.java:4609)           无效android.view.View。((android.content.Context,android.util.AttributeSet,int,int)(View.java:4758)           无效android.view.ViewGroup。(android.content.Context,android.util.AttributeSet,int,int)(ViewGroup.java:597)           无效android.widget.AbsoluteLayout。((android.content.Context,   android.util.AttributeSet,int,int)(AbsoluteLayout.java:55)           无效android.webkit.WebView((android.content.Context,android.util.AttributeSet,int,int,java.util.Map,boolean)   (WebView.java:643)           无效android.webkit.WebView。(android.content.Context,xt)(WebView.java:548)           无效com.google.android.gms.ads.internal.webview.v。(com.google.android.gms.ads.internal.webview.au,   com.google.android.gms.ads.internal.webview.av,java.lang.String,   布尔值,lv,com.google.android.gms.ads.internal.util.client.p,   com.google.android.gms.ads.internal.csi.l,   com.google.android.gms.ads.internal.bm,   com.google.android.gms.ads.internal.v,   com.google.android.gms.ads.internal.clearcut.a)   (:com.google.android.gms.dynamite_adsdynamite @ 13280048 @ 13.2.80   (040400-211705629):1)           在java.lang.Object com.google.android.gms.ads.internal.webview.q.call()((null):4)           在java.lang.Object com.google.android.gms.ads.internal.util.bp.a(java.util.concurrent.Callable)   (:com.google.android.gms.dynamite_adsdynamite @ 13280048 @ 13.2.80   (040400-211705629):23)           com.google.android.gms.ads.internal.webview.i com.google.android.gms.ads.internal.webview.o.a(android.content.Context,   com.google.android.gms.ads.internal.webview.av,java.lang.String,   布尔,布尔,lv,   com.google.android.gms.ads.internal.util.client.p,   com.google.android.gms.ads.internal.csi.l,   com.google.android.gms.ads.internal.bm,   com.google.android.gms.ads.internal.v,   com.google.android.gms.ads.internal.clearcut.a)   (:com.google.android.gms.dynamite_adsdynamite @ 13280048 @ 13.2.80   (040400-211705629):5)           无效com.google.android.gms.ads.internal.js.q。(android.content.Context,   com.google.android.gms.ads.internal.util.client.p,lv)   (:com.google.android.gms.dynamite_adsdynamite @ 13280048 @ 13.2.80   (040400-211705629):5)           无效com.google.android.gms.ads.internal.js.z.run()((null):5)           无效com.google.android.gms.ads.internal.util.future.ad.execute(java.lang.Runnable)   (:com.google.android.gms.dynamite_adsdynamite @ 13280048 @ 13.2.80   (040400-211705629):4)           在com.google.android.gms.ads.internal.js.ao上com.google.android.gms.ads.internal.js.y.a(lv)   (:com.google.android.gms.dynamite_adsdynamite @ 13280048 @ 13.2.80   (040400-211705629):32)           在com.google.android.gms.ads.internal.js.ak上com.google.android.gms.ads.internal.js.y.a()   (:com.google.android.gms.dynamite_adsdynamite @ 13280048 @ 13.2.80   (040400-211705629):17)           在com.google.android.gms.ads.internal.util.future.x上com.google.android.gms.ads.internal.js.function.b.b(java.lang.Object)   (:com.google.android.gms.dynamite_adsdynamite @ 13280048 @ 13.2.80   (040400-211705629):9)           无效com.google.android.gms.ads.internal.ab.a(android.content.Context,   com.google.android.gms.ads.internal.util.client.p,布尔值,   com.google.android.gms.ads.internal.state.e,java.lang.String,   java.lang.String,java.lang.Runnable)   (:com.google.android.gms.dynamite_adsdynamite @ 13280048 @ 13.2.80   (040400-211705629):32)           无效com.google.android.gms.ads.internal.ab.a(android.content.Context,   com.google.android.gms.ads.internal.util.client.p,java.lang.String,   java.lang.Runnable)   (:com.google.android.gms.dynamite_adsdynamite @ 13280048 @ 13.2.80   (040400-211705629):4)           无效com.google.android.gms.ads.internal.aw.a(java.lang.String,wd)   (:com.google.android.gms.dynamite_adsdynamite @ 13280048 @ 13.2.80   (040400-211705629):52)           在boolean com.google.android.gms.ads.internal.client.bc.a(int,   android.os.Parcel,android.os.Parcel)   (:com.google.android.gms.dynamite_adsdynamite @ 13280048 @ 13.2.80   (040400-211705629):42)           在boolean na.onTransact(int,android.os.Parcel,android.os.Parcel,int)   (:com.google.android.gms.dynamite_adsdynamite @ 13280048 @ 13.2.80   (040400-211705629):10)           在boolean android.os.Binder.transact(int,android.os.Parcel,android.os.Parcel,int)(Binder.java:644)           无效com.google.android.gms.internal.ads.z​​zej.transactAndReadExceptionReturnVoid(int,   android.os.Parcel)((null):-1)           无效com.google.android.gms.internal.ads.z​​zll.zza(java.lang.String,   com.google.android.gms.dynamic.IObjectWrapper)((空):-1)           无效com.google.android.gms.internal.ads.z​​zmb.zza(android.content.Context,   java.lang.String,com.google.android.gms.internal.ads.z​​zmd)   ((空):-1)           无效com.google.android.gms.ads.MobileAds.initialize(android.content.Context,   java.lang.String,com.google.android.gms.ads.MobileAds $ Settings)   ((空):-1)           无效com.google.android.gms.ads.MobileAds.initialize(android.content.Context,   java.lang.String)((null):-1)           在无效abaka.cdu.com.ph.infocenter.MainActivity.onCreate(android.os.Bundle)   (MainActivity.java:15)           无效android.app.Activity.performCreate(android.os.Bundle,android.os.PersistableBundle)(Activity.java:7041)           无效android.app.Activity.performCreate(android.os.Bundle)(Activity.java:7032)           无效android.app.Instrumentation.callActivityOnCreate(android.app.Activity,   android.os.Bundle)(Instrumentation.java:1231)           在android.app.Activity上android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread $ ActivityClientRecord,   android.content.Intent)(ActivityThread.java:2864)           无效android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread $ ActivityClientRecord,   android.content.Intent,java.lang.String)(ActivityThread.java:2989)           无效android.app.ActivityThread.-wrap11(android.app.ActivityThread,   android.app.ActivityThread $ ActivityClientRecord,   android.content.Intent,java.lang.String)(ActivityThread.java:-1)           无效android.app.ActivityThread $ H.handleMessage(android.os.Message)   (ActivityThread.java:1688)           无效android.os.Handler.dispatchMessage(android.os.Message)(Handler.java:106)           无效android.os.Looper.loop()(Looper.java:164)           无效android.app.ActivityThread.main(java.lang.String [])(ActivityThread.java:6753)           在java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object,java.lang.Object [])   (Method.java:-2)           无效com.android.internal.os.RuntimeInit $ MethodAndArgsCaller.run()   (RuntimeInit.java:482)           无效com.android.internal.os.ZygoteInit.main(java.lang.String [])   (ZygoteInit.java:807)           原因:java.lang.ClassNotFoundException:在路径:DexPathList [[zip文件]中找不到类“ android.webkit.TracingController”   “ /data/app/com.android.chrome-J2AR7AxH-H4feR9KfsbSkw==/base.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-J2AR7AxH-H4feR9KfsbSkw==/lib/arm64,   /data/app/com.android.chrome-J2AR7AxH-H4feR9KfsbSkw==/base.apk!/lib/arm64-v8a,   / system / lib64,/ system / vendor / lib64]]           在java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String)   (BaseDexClassLoader.java:125)           在java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String,boolean)   (ClassLoader.java:379)           在java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String)   (ClassLoader.java:312)           在java.lang.Class java.lang.Class.classForName(java.lang.String,boolean,   java.lang.ClassLoader)(Class.java:-2)           在java.lang.Class java.lang.Class.forName(java.lang.String,boolean,java.lang.ClassLoader)(Class.java:453)           在java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader)   (WebViewFactory.java:129)           在java.lang.Class android.webkit.WebViewFactory.getProviderClass()   (WebViewFactory.java:457)           在android.webkit.WebViewFactoryProvider上android.webkit.WebViewFactory.getProvider()(WebViewFactory.java:195)           在android.webkit.WebViewFactoryProvider上android.webkit.WebView.getFactory()(WebView.java:2530)           无效android.webkit.WebView.ensureProviderCreated()(WebView.java:2525)           无效android.webkit.WebView.setOverScrollMode(int)(WebView.java:2590)           无效android.view.View。(android.content.Context)(View.java:4609)           无效android.view.View。((android.content.Context,android.util.AttributeSet,int,int)(View.java:4758)           无效android.view.ViewGroup。(android.content.Context,android.util.AttributeSet,int,int)(ViewGroup.java:597)           无效android.widget.AbsoluteLayout。((android.content.Context,   android.util.AttributeSet,int,int)(AbsoluteLayout.java:55)           无效android.webkit.WebView((android.content.Context,android.util.AttributeSet,int,int,java.util.Map,boolean)   (WebView.java:643)           无效android.webkit.WebView((android.content.Context,android.util.AttributeSet,int,int)(WebView.java:588)           无效android.webkit.WebView。(android.content.Context,android.util.AttributeSet,int)(WebView.java:571)           无效android.webkit.WebView。(android.content.Context,android.util.AttributeSet)(WebView.java:558)           无效android.webkit.WebView。(android.content.Context)(WebView.java:548)           无效com.google.android.gms.ads.internal.webview.v。(com.google.android.gms.ads.internal.webview.au,   com.google.android.gms.ads.internal.webview.av,java.lang.String,   布尔值,lv,com.google.android.gms.ads.internal.util.client.p,   com.google.android.gms.ads.internal.csi.l,   com.google.android.gms.ads.internal.bm,   com.google.android.gms.ads.internal.v,   com.google.android.gms.ads.internal.clearcut.a)   (:com.google.android.gms.dynamite_adsdynamite @ 13280048 @ 13.2.80   (040400-211705629):1)           在java.lang.Object com.google.android.gms.ads.internal.webview.q.call()((null):4)           在java.lang.Object com.google.android.gms.ads.internal.util.bp.a(java.util.concurrent.Callable)   (:com.google.android.gms.dynamite_adsdynamite @ 13280048 @ 13.2.80   (040400-211705629):23)           com.google.android.gms.ads.internal.webview.i com.google.android.gms.ads.internal.webview.o.a(android.content.Context,   com.google.android.gms.ads.internal.webview.av,java.lang.String,   布尔,布尔,lv,   com.google.android.gms.ads.internal.util.client.p,   com.google.android.gms.ads.internal.csi.l,   com.google.android.gms.ads.internal.bm,   com.google.android.gms.ads.internal.v,   com.google.android.gms.ads.internal.clearcut.a)   (:com.google.android.gms.dynamite_adsdynamite @ 13280048 @ 13.2.80   (040400-211705629):5)           无效com.google.android.gms.ads.internal.js.q。(android.content.Context,   com.google.android.gms.ads.internal.util.client.p,lv)   (:com.google.android.gms.dynamite_adsdynamite @ 13280048 @ 13.2.80   (040400-211705629):5)           无效com.google.android.gms.ads.internal.js.z.run()((null):5)

0 个答案:

没有答案