Android download large files

后端 未结 2 1151
迷失自我
迷失自我 2020-12-30 06:40

I\'m trying to download a large .zip file from a web server but I have a weird behaviour, the description is:

  • I\'m executing the code in the device emulator, A
相关标签:
2条回答
  • 2020-12-30 07:00

    The "emulator rebooting itself" does not sound good. I would recommend you start up logcat on the dev machine and log to a file... ie, on a linux dev machine something like

    adb logcat | tee logfile

    Then look at the logfile and see what you can learn about why it rebooted.

    0 讨论(0)
  • 2020-12-30 07:15

    I've just tried this code in a real device and it works perfectly. There must be something weird in the emulator.

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