lingochamp / okdownload

A Reliable, Flexible, Fast and Powerful download engine.
Apache License 2.0
5.19k stars 776 forks source link

崩溃 DownloadConnection$Connected.getRedirectLocation() #438

Open GrizzlyRen opened 4 years ago

GrizzlyRen commented 4 years ago

创建了下载队列之后,开始下载任务,直接崩溃了,请问如何解决

E/AndroidRuntime: FATAL EXCEPTION: OkDownload Serial
    Process: com.bytespace.xlive, PID: 12257
    java.lang.AbstractMethodError: abstract method "java.lang.String com.liulishuo.okdownload.core.connection.DownloadConnection$Connected.getRedirectLocation()"
        at com.liulishuo.okdownload.core.download.ConnectTrial.executeTrial(ConnectTrial.java:90)
        at com.liulishuo.okdownload.core.download.BreakpointRemoteCheck.check(BreakpointRemoteCheck.java:100)
        at com.liulishuo.okdownload.core.download.DownloadCall.execute(DownloadCall.java:180)
        at com.liulishuo.okdownload.core.NamedRunnable.run(NamedRunnable.java:32)
        at com.liulishuo.okdownload.core.dispatcher.DownloadDispatcher.syncRunCall(DownloadDispatcher.java:369)
        at com.liulishuo.okdownload.core.dispatcher.DownloadDispatcher.execute(DownloadDispatcher.java:183)
        at com.liulishuo.okdownload.DownloadTask.execute(DownloadTask.java:535)
        at com.liulishuo.okdownload.DownloadContext$1.run(DownloadContext.java:124)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
        at java.lang.Thread.run(Thread.java:764)
2020-11-20 15:57:50.389 12257-12426/com.bytespace.xlive E/UncaughtException: java.lang.AbstractMethodError: abstract method "java.lang.String com.liulishuo.okdownload.core.connection.DownloadConnection$Connected.getRedirectLocation()"
        at com.liulishuo.okdownload.core.download.ConnectTrial.executeTrial(ConnectTrial.java:90)
        at com.liulishuo.okdownload.core.download.BreakpointRemoteCheck.check(BreakpointRemoteCheck.java:100)
        at com.liulishuo.okdownload.core.download.DownloadCall.execute(DownloadCall.java:180)
        at com.liulishuo.okdownload.core.NamedRunnable.run(NamedRunnable.java:32)
        at com.liulishuo.okdownload.core.dispatcher.DownloadDispatcher.syncRunCall(DownloadDispatcher.java:369)
        at com.liulishuo.okdownload.core.dispatcher.DownloadDispatcher.execute(DownloadDispatcher.java:183)
        at com.liulishuo.okdownload.DownloadTask.execute(DownloadTask.java:535)
        at com.liulishuo.okdownload.DownloadContext$1.run(DownloadContext.java:124)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
        at java.lang.Thread.run(Thread.java:764)