Parse Exception: At line 1, column 0: no element found

后端 未结 6 1633
半阙折子戏
半阙折子戏 2021-01-06 00:54

I have a weird issue. I receive the following error that causes a force-close:

org.apache.harmony.xml.ExpatParser$ParseException: At line 1, column 0:

6条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-06 01:20

    On a related design note, loading up contents of a URL should never Force Close an activity - I recommend putting all this into an AsyncTask implementation and report or retry after you are back on the GUI thread.

提交回复
热议问题