Android系统的WebView崩溃的Andr​​oid应用程序! "墓碑上JB MR2 +用户禁用建立和QUOT; [英] Android System WebView crashes Android apps! "Tombstones are disabled on JB MR2+ user builds"

查看:3727
本文介绍了Android系统的WebView崩溃的Andr​​oid应用程序! "墓碑上JB MR2 +用户禁用建立和QUOT;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

修改:原来它不是Chrome浏览器,但 Android系统的WebView 。 在谷歌Play商店的几个其他用户留下反应,如的崩溃的应用程序没有任何错误的。

原帖:

今晚我的 Chrome应用更新(安卓5.0.2),当我尝试建立我在调试模式下Xamarin的Andr​​oid应用程序,我得到的错误:

  

[谷歌breakpad] ### ### ### ### ### ### ### ### ### ### ### ### ###

     

[谷歌breakpad]铬构建指纹:

     

[谷歌-breakpad] 1.0

     

[谷歌-breakpad] 1

     

[谷歌breakpad] 5c230f07-455f-4c1f-91eb-9c44019cd813

     

[谷歌breakpad] ### ### ### ### ### ### ### ### ### ### ### ### ###

     

[谷歌breakpad]墓碑上JB MR2 +用户禁用的基础之上。

     

[谷歌breakpad] ### ### ### ### ### ### ### ### ### ### ### ### ###

在控制台中我能找到的错误消息:

  

E / sysutils的:ApplicationContext就是空的ApplicationStatus

这似乎是铬的一部分。

的错误显示在控制台和该应用返回到后(但不被破坏),当web视图返回它似乎。 web视图在另一个框架发放。

我已经做了,因为昨日没有变化,当一切正常。

从设备的功能建设(和崩溃)运行的应用程序的除外。经过

我的目标的内部版本是API 21和API最小为14(但也未能在19)。

解决方案

原来这不是Chrome浏览器,但是的 Android系统的WebView 的导致应用程序崩溃。在谷歌Play商店的几个其他用户留下反应,如的崩溃的应用程序没有任何错误的。

编辑:

乔纳森·普赖尔在Xamarin的Bugzilla发布此评论

  

正如评论#2和注释#3,问题是,谷歌播放   服务的WebView和相关类型的重挫现有SIGSEGV处理程序,   该螺丝的事情了所有本地code依赖于信号处理   (如胡迪尼)。

     

作为一种解决办法,有可能不再需要一个SIGSEGV处理程序   NullReferenceException异常募集,通过设置MONO_DEBUG变量包含   值显式空支票:

     

http://docs.go-mono.com/?link =男子%3amono(1)

     

这可以通过添加一个文件到您的应用程序项目的生成操作来完成   AndroidEnvironment:

     

http://developer.xamarin.com/guides/android/advanced_topics/environment /

     

然后添加以下行添加到文件:

  MONO_DEBUG =显式空检查
 

EDIT: It turns out it wasnt Chrome but Android System WebView. Several other users on Google Play Store have left responses such as Crashes apps without any error.

Original post:

Tonight my Chrome app updated (Android 5.0.2) and when I try to build my Xamarin Android app in DEBUG mode I get the error:

[google-breakpad] ### ### ### ### ### ### ### ### ### ### ### ### ###

[google-breakpad] Chrome build fingerprint:

[google-breakpad] 1.0

[google-breakpad] 1

[google-breakpad] 5c230f07-455f-4c1f-91eb-9c44019cd813

[google-breakpad] ### ### ### ### ### ### ### ### ### ### ### ### ###

[google-breakpad] Tombstones are disabled on JB MR2+ user builds.

[google-breakpad] ### ### ### ### ### ### ### ### ### ### ### ### ###

In the console I can find the error message:

E/SysUtils﹕ ApplicationContext is null in ApplicationStatus

Which seems to be part of chromium.

The error shows in the console and the app returns to back (but is not destroyed) when the webview returns it seems. The webview is issued in another framework.

I have done no changes since yesterday, when everything worked.

After building (and crashing) running the app from the device functions as excepted.

My target build version is API 21 and API minimum is 14 (but it also fails at 19).

解决方案

It turns out it was not Chrome but Android System WebView that caused the app to crash. Several other users on Google Play Store have left responses such as Crashes apps without any error.

EDIT:

Jonathan Pryor on Xamarin Bugzilla posted this comment:

As mentioned in Comment #2 and Comment #3, the problem is that the Google Play Service WebView and related types is clobbering existing SIGSEGV handlers, which screws things up for all native code which relies on signal handlers (e.g. Houdini).

As a workaround, it is possible to remove the need for a SIGSEGV handler for NullReferenceException raising, by setting the MONO_DEBUG variable to contain the value "explicit-null-checks":

http://docs.go-mono.com/?link=man%3amono(1)

This can be done by adding a file to your App project with a Build action of AndroidEnvironment:

http://developer.xamarin.com/guides/android/advanced_topics/environment/

Then adding the following line to the file:

MONO_DEBUG=explicit-null-checks

这篇关于Android系统的WebView崩溃的Andr​​oid应用程序! "墓碑上JB MR2 +用户禁用建立和QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆