GsaIOException Buffer overflow, no available space

后端 未结 4 845
暗喜
暗喜 2020-12-06 16:09

I have a MediaPlayer app with a live streaming function. When I test the app with a physically device(API 22 Lollipop and API 23 Marshmallow) there are no problems with star

相关标签:
4条回答
  • 2020-12-06 16:45

    I was getting these exact messages while trying to debug my device with logcat. Could not figure out where they were coming from. Finally realized that a preceding debug session with the emulator was generating these. I simply quit the emulator to stop them.

    0 讨论(0)
  • 2020-12-06 16:59

    I did receive the same issue, and i did the following things to make this crash occurs. Few api's that i wrote needed to allocate some memory since a file needed to be parsed and kept in that buffer. I started parsing the file without allocating the buffer hence received that message. So you could look into similar code where you might be doing the same.

    0 讨论(0)
  • 2020-12-06 17:00

    I've resolved this by deleting the apk files that i have created before and they still remain in Project Files list.

    0 讨论(0)
  • 2020-12-06 17:01

    I had a similar issue, for me it was crashing on devices too, with the same error. This is how I fixed it for devices:

    <uses-permission android:name="android.permission.RECORD_AUDIO" />
    

    More details here: Looping Error on Android Emulator

    To make the app work on simulator, after applying the fix from the above link, I had to create a new simulator based on x86 architecture (not x86_64 as before) and it worked.

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