gpt4 book ai didi

Android 应用程序在摩托罗拉上崩溃的原因 : Can't open file for reading

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:30:36 24 4
gpt4 key购买 nike

过去几周我一直在开发 Android 应用程序。我一直在 Samsung s3 和 HTC one 上测试它,没有任何问题。

但是我带来了 Motorola defy 并且在开始对其进行测试时,应用程序开始崩溃。在查看 logcat 后,我​​发现了以下可能导致崩溃的问题,即

<s3dReadConfigFile:75>: Can't open file for reading

可以帮我解决这个问题吗?为什么它在摩托罗拉上崩溃,而不是在任何其他 Android 设备上崩溃?

提前致谢。

这是完整的日志

E 7183/Trace: error opening trace file: Permission denied (13)
D 7183/ActivityThread: setTargetHeapUtilization:0.25
D 7183/ActivityThread: setTargetHeapIdealFree:8388608
D 7183/ActivityThread: setTargetHeapConcurrentStart:2097152
D 7183/libEGL: loaded /system/lib/egl/libEGL_adreno200.so
D 7183/libEGL: loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D 7183/libEGL: loaded /system/lib/egl/libGLESv2_adreno200.so
I 7183/Adreno200-EGLSUB: <ConfigWindowMatch:2087>: Format RGBA_8888.
E 7183/: <s3dReadConfigFile:75>: Can't open file for reading
E 7183/: <s3dReadConfigFile:75>: Can't open file for reading
D 7183/OpenGLRenderer: Enabling debug mode 0
I 7183/Adreno200-EGLSUB: <ConfigWindowMatch:2087>: Format RGBA_8888.

在那之后没有任何反应,应用程序崩溃了。

最佳答案

不确定这是否值得赏金,但之前已经在 SO 上提出并回答了这个问题: Device specific error - s3dReadConfigFile "Can't open file for reading."

这似乎是由设备中的 Adreno GPU 引起的错误。 https://developer.qualcomm.com/discover/chipsets-and-modems/adreno-gpu

每当您创建 GL 表面时,GPU 都会导致此错误。该错误似乎会记录下来,但会被 Quaalcom 提供的任何驱动程序处理,这在 Galaxy S3 上很常见,但不会导致该设备崩溃。

也许 Quaalcom 的某个人知道为什么错误会在 Moto 而不是三星上崩溃。 https://developer.qualcomm.com/contact

我希望这对你有所帮助。我的直觉告诉我这是一个转移注意力的问题:这不是导致您崩溃的原因。但是很难忽略崩溃应用程序中的错误消息。尽管如此,我还是建议在花太多时间追查这个错误之前寻找其他可能的罪魁祸首。在我的设备上,我制作的任何开放式 GL 游戏都会显示该错误,但不会导致崩溃或任何其他中断。它甚至只会在我拥有的 Samsun G3 上导致错误,而不会在我的其他 (HTC) 测试设备上导致错误。

关于Android 应用程序在摩托罗拉上崩溃的原因 <s3dReadConfigFile :75>: Can't open file for reading,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16207977/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com