仅当我实施Admob插页式广告时,我的Android应用程序才会崩溃。
如果未实施Admob插页式广告,则该应用程序不会在键盘输入时崩溃,并且可以正常运行。
我做了一些解决方法,发现代码:
mInterstitialAd.loadAd(new AdRequest.Builder().build());
会导致崩溃。该应用程序不会崩溃。
TargetSdkVersion:26
下面是详细的崩溃日志报告(Logcat):
2018-12-12 13:28:35.957 10472-10582/com.company.webview A/libc: Fatal signal 31 (SIGSYS), code 1 in tid 10582 (Chrome_InProcRe), pid 10472 (pany.webview)
2018-12-12 13:28:36.096 10701-10582/? A/libc: Fatal signal 31 (SIGSYS), code 1 in tid 10701 (Chrome_InProcRe), pid 10701 (Chrome_InProcRe)
2018-12-12 13:28:36.105 10704-10704/? W/crash_dump32: failed to attach to thread 10519: Operation not permitted
2018-12-12 13:28:36.186 10704-10704/? I/crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstone
2018-12-12 13:28:36.192 1586-1586/? I//system/bin/tombstoned: received crash request for pid 10472
2018-12-12 13:28:36.195 10704-10704/? I/crash_dump32: performing dump of process 10472 (target tid = 10582)
2018-12-12 13:28:36.195 10704-10704/? A/DEBUG: *
2018-12-12 13:28:36.195 10704-10704/? A/DEBUG: Build fingerprint: 'google/sdk_gphone_x86/generic_x86:8.1.0/OSM1.180201.018/4662058:userdebug/dev-keys'
2018-12-12 13:28:36.196 10704-10704/? A/DEBUG: Revision: '0'
2018-12-12 13:28:36.196 10704-10704/? A/DEBUG: ABI: 'x86'
2018-12-12 13:28:36.196 10704-10704/? A/DEBUG: pid: 10472, tid: 10582, name: Chrome_InProcRe >>> com.company.webview <<<
2018-12-12 13:28:36.199 10704-10704/? A/DEBUG: signal 31 (SIGSYS), code 1 (SYS_SECCOMP), fault addr --------
2018-12-12 13:28:36.199 10704-10704/? A/DEBUG: Cause: seccomp prevented call to disallowed x86 system call 7
2018-12-12 13:28:36.200 10704-10704/? A/DEBUG: eax 00000007 ebx 000029cd ecx e0158b94 edx 40000000
2018-12-12 13:28:36.200 10704-10704/? A/DEBUG: esi 000029cd edi 00000000
2018-12-12 13:28:36.200 10704-10704/? A/DEBUG: xcs 00000023 xds 0000002b xes 0000002b xfs 0000006b xss 0000002b
2018-12-12 13:28:36.200 10704-10704/? A/DEBUG: eip d3a0e289 ebp e0158ba8 esp e0158b2c flags 00200282
2018-12-12 13:28:36.202 10704-10704/? A/DEBUG: backtrace:
2018-12-12 13:28:36.202 10704-10704/? A/DEBUG: #00 pc 03fcf289 /system/app/Chrome/Chrome.apk (offset 0xa2f000)
2018-12-12 13:28:36.203 10704-10704/? A/DEBUG: #01 pc 03fcedc9 /system/app/Chrome/Chrome.apk (offset 0xa2f000)
2018-12-12 13:28:36.235 10707-10707/? I/crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstone
2018-12-12 13:28:36.241 1586-1586/? I//system/bin/tombstoned: received crash request for pid 10701
2018-12-12 13:28:36.242 1586-1586/? I//system/bin/tombstoned: enqueueing crash request for pid 10701
2018-12-12 13:28:37.755 1586-1586/? E//system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_28
2018-12-12 13:28:37.757 10707-10707/? I/crash_dump32: performing dump of process 10701 (target tid = 10701)
2018-12-12 13:28:37.758 10707-10707/? A/DEBUG: *
请帮助我,在此先感谢...