Home > Backend Development > PHP Tutorial > QINiu android简单上传!!!AsyncHttpClient.setConnectTimeout

QINiu android简单上传!!!AsyncHttpClient.setConnectTimeout

WBOY
Release: 2016-06-06 20:36:32
Original
1225 people have browsed it

java.lang.NoSuchMethodError: com.loopj.android.http.AsyncHttpClient.setConnectTimeout

这个错误实在是找不到问题,
QINiu android简单上传!!!AsyncHttpClient.setConnectTimeout

在87行报错,上面获取token可以取到,说明网络没有问题,
android-async-http-1.4.6.jar 和qiniu-android-sdk-7.0.3.jar
两个jar也导入了,
服务端的token也没有问题,
QINiu android简单上传!!!AsyncHttpClient.setConnectTimeout

bucket是空间名,
accessKey和secretKey也没有问题.

急求助!!!

已经解决了......

回复内容:

java.lang.NoSuchMethodError: com.loopj.android.http.AsyncHttpClient.setConnectTimeout

这个错误实在是找不到问题,
QINiu android简单上传!!!AsyncHttpClient.setConnectTimeout

在87行报错,上面获取token可以取到,说明网络没有问题,
android-async-http-1.4.6.jar 和qiniu-android-sdk-7.0.3.jar
两个jar也导入了,
服务端的token也没有问题,
QINiu android简单上传!!!AsyncHttpClient.setConnectTimeout

bucket是空间名,
accessKey和secretKey也没有问题.

急求助!!!

已经解决了......

看这个错误,应该是包没有导入正确的原因。解决了就好。

楼主解决了吗?我也遇到这个问题。能分享下吗

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template