(SIGABRT)代码-6检查失败: 工具框架方法

3

这是一个随机错误,重新构建和部署应用程序后会消失。我通过从数据库获取信息来更新视图。

以下是堆栈信息:

I/art: Starting a blocking GC Instrumentation
A/art: art/runtime/stack.cc:848] Check failed: instrumentation_frame.method_ == GetMethod() (instrumentation_frame.method_=0x70f7b720, GetMethod()=0x70af8d68) Expected: void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) Found: <runtime method>.<runtime internal callee-save reference and argument registers method><no signature>
A/art: art/runtime/stack.cc:848] Check failed: instrumentation_frame.method_ == GetMethod() (instrumentation_frame.method_=0x70f7b720, GetMethod()=0x70af8d68) Expected: void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) Found: <runtime method>.<runtime internal callee-save reference and argument registers method><no signature>
A/art: art/runtime/runtime.cc:403] Runtime aborting --- recursively, so no thread-specific detail!
A/art: art/runtime/runtime.cc:403] 
A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 32299 (xxx.xxx)
        [ 12-29 15:20:42.680   270:  270 W/         ]
        debuggerd: handling request: pid=32299 uid=10102 gid=10102 tid=32299

我只在调试模式下面才获得这个问题,而我们没有使用即时运行。 - galaxigirl
1个回答

2

尝试关闭即时运行(Instant Run),这对我有所帮助。


1
对我也起作用,但我希望找到真正的解决方案,以便重新开始使用即时运行。 - Justin Liu

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接