应用程序无法打开的错误打开跟踪文件应用程序、无法打开、错误、文件

2023-09-14 00:03:19 作者:群名称

我安装我的应用程序,该应用程序运行良好了。 但经过一段时间,应用程序无法打开,错误是错误打开跟踪文件:没有这样的文件或目录。可能是什么问题? 我安装相同的应用程序,以三星注2与Android版本4.1.2。我没有任何问题。 我安装到另一台设备与Android版本4.1.1,并且该设备有问题。 我的LogCat中消息如下所示。

  10-07 20:51:50.910:W / System.err的(19785):无效INT:
10-07 20:51:51.140:W / dalvikvm(19785):主题ID = 1:螺纹退出与未捕获的异常(组= 0x40e97438)
10-07 20:52:09.510:E /跟踪(19817):错误打开跟踪文件:没有这样的文件或目录(2)
10-07 20:52:09.530:W / dalvikvm(19817):拒绝重新启动DEX/system/framework/hwframework.jar
10-07 20:52:09.750:W / System.err的(19817):无效INT:
10-07 20:52:09.910:我/的Adreno200东瀛(19817):其中,qeglDrvAPI_eglInitialize:299计算值:EGL 1.4高通公司构建:AU_LINUX_ANDROID_JB_REL_2.0.3.04.01.01.21.010_msm8625_JB_REL_2.0.3_Merge_release_AU(合并)
10-07 20:52:09.910:我/的Adreno200东瀛(19817):建立日期:12年10月26日星期五
10-07 20:52:09.910:我/的Adreno200东瀛(19817):本地分公司:
10-07 20:52:09.910:我/的Adreno200东瀛(19817):远程分支:QUIC / jb_rel_2.0.3
10-07 20:52:09.910:我/的Adreno200东瀛(19817):本地修补程序:否
10-07 20:52:09.910:我/的Adreno200东瀛(19817):重建科:AU_LINUX_ANDROID_JB_REL_2.0.3.04.01.01.21.010 + NOTHING
10-07 20:52:09.970:W / dalvikvm(19817):主题ID = 1:螺纹退出与未捕获的异常(组= 0x40e97438)
 

解决方案

在错误打开跟踪文件的消息是一个red青鱼 - 它只是意味着你的设备不支持systrace

无效INT消息可能有一些做的问题,但真正发生了什么东西抛出未捕获的异常。

通常,当一个线程退出时,你能看到异常的日志中未捕获的异常,但是有些事情似乎是preventing这里。如果您运行在调试器中的应用程序,并在所有未捕获的异常设置例外断点,你应该能够看到它的来源。 (或者,尝试追查无效INT消息的来源,把一个断点在那里。)

I installed my application and the application is running well already. But after sometime, the app can't be opened and the error is "error opening trace file: No such file or directory". What could be the problem? I installed the same app to Samsung Note2 with Android version 4.1.2. I don't have any problem. I installed to another device with Android version 4.1.1, and that device has problem. My LogCat message is as shown below.

10-07 20:51:50.910: W/System.err(19785): Invalid int: ""
10-07 20:51:51.140: W/dalvikvm(19785): threadid=1: thread exiting with uncaught exception (group=0x40e97438)
10-07 20:52:09.510: E/Trace(19817): error opening trace file: No such file or directory (2)
10-07 20:52:09.530: W/dalvikvm(19817): Refusing to reopen boot DEX '/system/framework/hwframework.jar'
10-07 20:52:09.750: W/System.err(19817): Invalid int: ""
10-07 20:52:09.910: I/Adreno200-EGL(19817): <qeglDrvAPI_eglInitialize:299>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_JB_REL_2.0.3.04.01.01.21.010_msm8625_JB_REL_2.0.3_Merge_release_AU (Merge)
10-07 20:52:09.910: I/Adreno200-EGL(19817): Build Date: 10/26/12 Fri
10-07 20:52:09.910: I/Adreno200-EGL(19817): Local Branch: 
10-07 20:52:09.910: I/Adreno200-EGL(19817): Remote Branch: quic/jb_rel_2.0.3
10-07 20:52:09.910: I/Adreno200-EGL(19817): Local Patches: NONE
10-07 20:52:09.910: I/Adreno200-EGL(19817): Reconstruct Branch: AU_LINUX_ANDROID_JB_REL_2.0.3.04.01.01.21.010 +  NOTHING
10-07 20:52:09.970: W/dalvikvm(19817): threadid=1: thread exiting with uncaught exception (group=0x40e97438)
电脑qq浏览器出错,提示 应用程序无法正常启动 错误代码0xc0000022 怎么处理

解决方案

The "error opening trace file" message is a red herring -- it just means your device doesn't support systrace.

The "Invalid int" message might have something to do with the problem, but really what's happening is something is throwing an exception that isn't caught.

Normally when a thread exits with an uncaught exception you get to see the exception in the log, but something seems to be preventing that here. If you run the app in the debugger, and set an exception breakpoint on all uncaught exceptions, you should be able to see where it's coming from. (Alternatively, try to track down the source of the "Invalid int" message and put a breakpoint there.)

 
精彩推荐
图片推荐