Искал http-клиента для android, наковырял okhttp. Делаю все по инструкции - https://raw.githubusercontent.com/squar ... ample.java
При запуске пишет
Добавил обработку catch:unreported exception IOException; must be caught or declared to be thrown
Код: Выделить всё
catch (IOException e) {
e.printStackTrace();
return "";
}
Спасибо.