很久以前发帖反馈过一次这个问题,那次技术有限,没有查到日志,这次终于找到啦
10-17 10:27:47.899 25210 25210 E AndroidRuntime: FATAL EXCEPTION: main
10-17 10:27:47.899 25210 25210 E AndroidRuntime: Process: com.MobileTicket, PID: 25210
10-17 10:27:47.899 25210 25210 E AndroidRuntime: java.nio.channels.OverlappingFileLockException
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at sun.nio.ch.SharedFileLockTable.checkList(FileLockTable.java:255)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at sun.nio.ch.SharedFileLockTable.add(FileLockTable.java:152)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1125)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at java.nio.channels.FileChannel.tryLock(FileChannel.java:1155)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at wY.b(SourceFile:93)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at wY.b(SourceFile:173)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at wY.a(SourceFile:154)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at com.android.webview.chromium.WebViewChromiumFactoryProvider.a(SourceFile:217)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at com.android.webview.chromium.WebViewChromium.init(SourceFile:44)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at android.webkit.WebView.<init>(WebView.java:651)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at android.webkit.WebView.<init>(WebView.java:581)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at android.webkit.WebView.<init>(WebView.java:564)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at android.webkit.WebView.<init>(WebView.java:551)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at android.webkit.WebView.<init>(WebView.java:541)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at com.alipay.mobile.nebulacore.android.AndroidWebView$WebViewEx.<init>(AndroidWebView.java:462)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at com.alipay.mobile.nebulacore.android.AndroidWebView.<init>(AndroidWebView.java:50)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at com.alipay.mobile.nebulacore.wallet.H5WebViewFactory.createWebView(H5WebViewFactory.java:177)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at com.alipay.mobile.nebulacore.web.H5WebView.<init>(H5WebView.java:101)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at com.alipay.mobile.nebulacore.core.H5PageImpl.<init>(H5PageImpl.java:318)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at com.alipay.mobile.nebulacore.core.NebulaServiceImpl$1$1.run(NebulaServiceImpl.java:238)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:789)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:98)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at android.os.Looper.loop(Looper.java:251)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6572)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
10-17 10:27:47.899 25210 25210 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
看起来确实是 webview 的问题,可能是支付宝 SDK 之类埋的坑,如果支付宝有这块相关的同学,也来围观一下呗
1
alfchin 2018-10-17 10:51:16 +08:00 via iPhone
请附上机型和 rom 版本
三星 s9+无此问题 |
3
yukiww233 2018-10-17 11:57:59 +08:00
看日志像是骚尼魔改了 webview
|
5
gaobh 2018-10-17 12:13:27 +08:00 via iPhone
只能刷其他 rom 试一下了
|
6
Baymaxbowen 2018-10-17 12:15:22 +08:00 via Android
lineages OS 8.1 12306 也会出现闪退
|
7
zts1993 2018-10-17 12:22:25 +08:00
限制存储文件相关权限了么
|
9
iwtbauh 2018-10-17 12:29:49 +08:00 via Android
@Baymaxbowen
没听说过“ lineages OS 8.1 ” 我的 LineageOS 15.1 没有问题 @Bryan0Z 装个 chrome stable,试试开发者选项里“ Webview 实现”改成 chrome stable |
10
Baymaxbowen 2018-10-17 12:45:24 +08:00 via Android
@iwtbauh 唔,就是 15.1
|
11
Bryan0Z OP @iwtbauh 默认 webview 就是 chrome,刚刚更新到最新版 69.0.3497.100 了,还是会闪退
|
12
mohoumk2 2018-10-17 14:28:25 +08:00 via Android
我的 lineage os 15.1 没问题…
刚开始用的 WiFi 闪退,改成流量就好了 |
13
hx1997 2018-10-17 14:30:13 +08:00 via Android
之前 12306 闪退,在开发者选项里打开多进程 WebView 就好了… 不过治标不治本😂
|
14
Bryan0Z OP |
16
redtears 2018-10-17 17:30:23 +08:00
有单独的 webview app,可以装一个试试啊
|
17
Bryan0Z OP @iwtbauh 改不了,安卓 7.0 以后,只要装了 chrome,默认替换系统 webview
|
18
iwtbauh 2018-10-17 17:57:26 +08:00 via Android
@Bryan0Z
不清楚,我是 LineageOS 15.1 ( Android 8.1 ),playstore 安装 chrome stable 版本后并没有替换 Android system webview,而且在开发者选项里默认还是 webview |
19
xxxy 2018-10-17 18:19:25 +08:00
楼主,请问是怎么获取到日志的?
|
21
dobelee 2018-10-17 18:28:43 +08:00 via Android
骚尼 xz1 一直闪退。买票只能上浏览器。
|
22
dengtongcai 2018-10-17 18:47:47 +08:00 via Android
8.0 同闪退啊,
|
23
Bryan0Z OP |