Good In android'e parsed html site. Here is a primitive code:
class Description extends AsyncTask<Void, Void, Void> { public String desc; @Override protected void onPreExecute() { super.onPreExecute(); } @Override protected Void doInBackground(Void... params) { try { Document document = Jsoup.connect("http://www.google.ru").get(); desc = document.html(); } catch (IOException e) { e.printStackTrace(); } return null; } @Override protected void onPostExecute(Void result) { Log.i("test", desc); } } At the same time, only part of the html code is loaded, interrupted at a random place. When checking in Eclipse everything is well displayed.
@YuriSPB @metalurgus I do not think that the problem with the text output. 
And when getting html'a by means of HttpUrlConnection'a the same nonsense: s The point is not that there are some blocks in the page. The code is interrupted at a random place, it may even be in half of the tag name. Hardly, this is due to the peculiarities of the String or logs. Did line-by-line logging with the help of InputStream'a - the result is the same. (!) Besides, look, please, at the last screen, there I sampled the tag 'a'. Nothing found. (!) In eclipse, everything works fine.

DocumenttoString()method may truncate it. - Vladyslav Matviienko