Android application crashing on Motorola defy reason : Can't open file for reading

后端 未结 1 1492
青春惊慌失措
青春惊慌失措 2021-02-04 14:06

I have been working on an Android application for last couple of weeks. I have been testing it on Samsung s3 and HTC one without any issue.

However I brought Motorola de

1条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-04 14:42

    Not sure if this is worth the bounty, but this question has been asked and answered on SO before: Device specific error - s3dReadConfigFile "Can't open file for reading."

    It appears to be an error caused by the Adreno GPU in the device. https://developer.qualcomm.com/discover/chipsets-and-modems/adreno-gpu

    The GPU causes this error any time you create a GL Surface. The error seems to log but get handled by whatever drivers Quaalcom provides it is very common on Galaxy S3, but does not cause a crash on that device.

    Perhaps someone at Quaalcom knows why the error crashes on Moto, but not Samsung. https://developer.qualcomm.com/contact

    I hope this helps you along a bit. My gut tells me this is a red herring: Its not what is causing your crash. But it is pretty hard to ignore an error message in a crashing app. Still, I would suggest looking for other possible culprits before spending too much time chasing down this error. On my devices, that error is shown on any open GL game I make, but never causes a crash or any other disruption. It only even causes the error on the Samsun G3 I have, not on my other (HTC) test devices.

    0 讨论(0)
提交回复
热议问题