应用崩溃 - 如何修复?

时间:2017-12-14 16:47:15

标签: android crash

Android Studio有一个奇怪的现象 在模拟器和不同测试设备上正常运行的应用程序在启动时(对话"... has stopped" with option 'Open app again')在一个特定设备(Android 7.0)上崩溃。

直到崩溃发生,应用程序已成功调用onCreate()并完成了一些操作 点击'再次打开应用'毫无问题地启动应用程序。

这可能是AS中的一个错误吗?
这是Logcat的输出:

A/art: art/runtime/runtime.cc:403] Runtime aborting...
A/art: art/runtime/runtime.cc:403] Aborting thread:
/art: art/runtime/runtime.cc:403] "Jit thread pool worker thread 0" prio=5 tid=2 WaitingForDebuggerSend (still starting up)
A/art: art/runtime/runtime.cc:403]   | group="" sCount=0 dsCount=0 obj=0x0 self=0xa1f0d000
A/art: art/runtime/runtime.cc:403]   | sysTid=10723 nice=9 cgrp=default sched=0/0 handle=0xa7aa6920
A/art: art/runtime/runtime.cc:403]   | state=R schedstat=( 1654233000 957016472 1873 ) utm=132 stm=33 core=3 HZ=100
A/art: art/runtime/runtime.cc:403]   | stack=0xa79a8000-0xa79aa000 stackSize=1022KB
A/art: art/runtime/runtime.cc:403]   | held mutexes= "abort lock"
A/art: art/runtime/runtime.cc:403]   native: #00 pc 0034f0ad  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+128)

非常感谢任何帮助。

1 个答案:

答案 0 :(得分:0)

在Android Studio中删除所有断点后问题消失了。