【问题标题】:Chartboost interstitial sometimes crashes when dismissedChartboost 插页式广告有时会在关闭时崩溃
【发布时间】:2016-08-14 10:53:59
【问题描述】:

我正在使用最新的 Chartboost sdk 版本 (6.5.0)。当插页式广告关闭时,有时它会因以下堆栈跟踪而崩溃。

V/WindowManager( 2344): Window{42dcdee0 u0 Keyguard}mOrientationRequetedFromKeyguard=false
D/WindowManager( 2344): computeScreenConfigurationLocked() set config.orientation=2 dw=1280 dh=720 Callers=com.android.server.wm.WindowManagerService.updateOrientationFromAppTokensLocked:5171 com.android.server.wm.WindowManagerService.updateOrientationFromAppTokens:5142 com.android.server.am.ActivityManagerService.setRequestedOrientation:3481 
D/PowerManagerService( 2344): setKeyboardVisibility: false
V/WindowManager( 2344): Window{42dcdee0 u0 Keyguard}mOrientationRequetedFromKeyguard=false
E/webview ( 8676): java.lang.Throwable: Error: WebView.destroy() called while still attached!
E/webview ( 8676):  at android.webkit.WebViewClassic.destroy(WebViewClassic.java:4158)
E/webview ( 8676):  at android.webkit.WebView.destroy(WebView.java:707)
E/webview ( 8676):  at com.chartboost.sdk.impl.bi$c.b(SourceFile:116)
E/webview ( 8676):  at com.chartboost.sdk.h.f(SourceFile:318)
E/webview ( 8676):  at com.chartboost.sdk.Model.a.j(SourceFile:375)
E/webview ( 8676):  at com.chartboost.sdk.Model.a.i(SourceFile:351)
E/webview ( 8676):  at com.chartboost.sdk.g.d(SourceFile:232)
E/webview ( 8676):  at com.chartboost.sdk.g$2$1$1.run(SourceFile:150)
E/webview ( 8676):  at android.os.Handler.handleCallback(Handler.java:730)
E/webview ( 8676):  at android.os.Handler.dispatchMessage(Handler.java:92)
E/webview ( 8676):  at android.os.Looper.loop(Looper.java:176)
E/webview ( 8676):  at android.app.ActivityThread.main(ActivityThread.java:5419)
E/webview ( 8676):  at java.lang.reflect.Method.invokeNative(Native Method)
E/webview ( 8676):  at java.lang.reflect.Method.invoke(Method.java:525)
E/webview ( 8676):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1046)
E/webview ( 8676):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:862)
E/webview ( 8676):  at dalvik.system.NativeStart.main(Native Method)
D/webviewglue( 8676): nativeDestroy view: 0x5a74aab8
I/WindowManager( 2344): Screenshot Window{43daca38 u0 com.example.myapp/com.chartboost.sdk.CBImpressionActivity} was all black! mSurfaceLayer=21015 minLayer=21015 maxLayer=21015
F/libc    ( 8676): Fatal signal 11 (SIGSEGV) at 0x00000036 (code=1), thread 8676 (id.myapp)
I/DEBUG   ( 2255): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000036

有解决办法吗?

【问题讨论】:

  • 您好,来自 Chartboost 的这位 Ed... 您可以发送电子邮件至 support@chartboost.com 并附上您的应用 ID 吗?我们想对此进行调查。
  • 最新版本的 Chartboost SDK 已修复此崩溃问题。这是一个已知问题。

标签: android chartboost


【解决方案1】:

检查你的 AndroidManifest.xml,你添加了这个。 android:configChanges="keyboardHidden|orientation|screenSize"

看起来像这样:

<activity android:name="com.chartboost.sdk.CBImpressionActivity"
          android:excludeFromRecents="true"
          android:hardwareAccelerated="true"            
          android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"   
          android:configChanges="keyboardHidden|orientation|screenSize" />

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-12-25
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多