Android Studio:error: illegal character: '\u2028'

后端 未结 6 1837
醉梦人生
醉梦人生 2020-12-20 11:48

I am trying to do a JSONObject request:

final String URL = \"https://some/url\";

// Post params to be sent to the server
HashMap para         


        
6条回答
  •  -上瘾入骨i
    2020-12-20 12:33

    It's the new line character, if you go to each of the lines that are causing the error and delete the 'invisible' last character then the errors will resolve

    Go to end of the line that is causing the error and hit backspace once, for each of the lines that have the illegal character error.

提交回复
热议问题