Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问这个支持eclipse吗 #212

Closed
liangnansheng opened this issue Jul 13, 2016 · 13 comments
Closed

请问这个支持eclipse吗 #212

liangnansheng opened this issue Jul 13, 2016 · 13 comments
Labels

Comments

@liangnansheng
Copy link

??

@Jacksgong
Copy link
Collaborator

Jacksgong commented Jul 13, 2016

How to import FileDownloader to eclipse:

The length of picture is 2M,please wait a minute for downloading the tutorial picture。

filedownloader-eclipse

@RockyQu
Copy link

RockyQu commented Aug 19, 2016

你好,我按照图片导入eclipse里,多任务,开启下载后,图片没有保存是怎么回事呢?

@RockyQu
Copy link

RockyQu commented Aug 19, 2016

权限写了,服务也声明了,包导了0.35版本,和OKhttp-3.4.1,代码是复制MultitaskTestActivity里的,没什么改动,图片没有保存到把定的目录,我设置了FileDownloadUtils.setDefaultSaveRootPath(ProjectUtils.IMG_THUMB);

@Jacksgong
Copy link
Collaborator

你看看输出的日志。

@RockyQu
Copy link

RockyQu commented Aug 19, 2016

08-19 17:07:07.393: D/Posix(28444): [Posix_connect Debug]Process com.ld.smb:filedownloader :80
08-19 17:07:07.403: I/System.out(28444): [socket][/192.168.1.218:46958] connected
08-19 17:07:07.414: D/libc-netbsd(28444): [getaddrinfo]: hostname=cdn.llsapp.com; servname=(null); cache_mode=(null), netid=0; mark=0
08-19 17:07:07.414: D/libc-netbsd(28444): [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
08-19 17:07:07.415: I/System.out(28444): [socket][70] connection cdn.llsapp.com/58.218.206.22:80;LocalPort=37235(15000)
08-19 17:07:07.415: I/System.out(28444): [CDS]connect[cdn.llsapp.com/58.218.206.22:80] tm:15
08-19 17:07:07.424: I/System.out(28444): [CDS]rx timeout:10000
08-19 17:07:07.495: I/System.out(28444): [CDS]close[43987]

@RockyQu
Copy link

RockyQu commented Aug 19, 2016

日志只显了这些东西

@RockyQu
Copy link

RockyQu commented Aug 19, 2016

08-19 17:18:10.173: D/FileDownloader.FileDownloadRunnable(29600): start download 45694730 http://cdn.llsapp.com/yy/image/dd72c879-b1c4-4fb9-b871-d57dfa3aa709.jpg
08-19 17:18:10.174: D/FileDownloader.FileDownloadMgr(29600): can't continue 45694730 file not suit, exists[FALSE], directory[FALSE]
08-19 17:18:10.175: D/FileDownloader.FileDownloadRunnable(29600): 45694730 request header Cache-Control: no-cache
08-19 17:18:10.175: I/System.out(29600): [CDS][DNS] getAllByNameImpl netId = 0
08-19 17:18:10.176: I/System.out(29600): [CDS]rx timeout:10000

@RockyQu
Copy link

RockyQu commented Aug 19, 2016

还需要导什么其他包吗?

@RockyQu
Copy link

RockyQu commented Aug 19, 2016

08-19 17:19:38.369: D/FileDownloader.FileDownloadRunnable(29600): On retry -1759819910 java.lang.NoClassDefFoundError: Failed resolution of: Lokio/Okio; 1 1

@RockyQu
Copy link

RockyQu commented Aug 19, 2016

有一句这是个

@RockyQu
Copy link

RockyQu commented Aug 19, 2016

Okio

@RockyQu
Copy link

RockyQu commented Aug 19, 2016

可以使用了,是因为没有引入Okio

@Jacksgong
Copy link
Collaborator

Jacksgong commented Aug 19, 2016

@DesignQu 恩。好的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants