2016-08-14 118 views
0

我正在使用最新的Chartboost sdk版本(6.5.0)。当插页式广告关闭时,有时会与下面的堆栈跟踪一起崩溃。Chartboost插页式广告在被驳回时有时会崩溃

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 

是否有解决方法?

+1

你好,这埃德从Chartboost ......你能电子邮件[email protected]与您的应用程序ID?我们希望看到这一点。 –

+0

此崩溃已通过最新版本的Chartboost SDK修复。这是一个已知的问题。 – Gabor

回答

0

检查你的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" /> 
相关问题