以前用的okgo好好的,今天再打开项目就不能使用了,郁闷!!然后报以下的错
Class 'Anonymous class derived from StringCallback' must either be declared abstract or implement abstract method 'onSuccess(T, Call, Response)' in 'AbsCallback

我就按着是的错误,一通改。还是有问题。然后我发现okhttp找不到了。就如下操作了一波

okhttp就不报错了。
然后,把如下如的内容

改成了这样,就又可以用了。

哎 浪费我半天时间。。。。。。。。
网友评论