Closed SourceAdFlt closed 4 years ago
02-22 19:00:34.737 26466 26584 W System.err: java.lang.ExceptionInInitializerError
02-22 19:00:34.737 26466 26584 W System.err: at com.liulishuo.filedownloader.util.FileDownloadProperties.getImpl(FileDownloadProperties.java:153)
02-22 19:00:34.737 26466 26584 W System.err: at com.liulishuo.filedownloader.FileDownloadServiceProxy.
02-22 19:00:34.737 26466 26584 W System.err: at com.liulishuo.filedownloader.FileDownloadServiceProxy.
02-22 19:00:34.737 26466 26584 W System.err: at com.liulishuo.filedownloader.FileDownloadServiceProxy$HolderClass.
02-22 19:00:34.737 26466 26584 W System.err: at com.liulishuo.filedownloader.FileDownloadServiceProxy.getImpl(FileDownloadServiceProxy.java:43)
02-22 19:00:34.737 26466 26584 W System.err: at com.liulishuo.filedownloader.FileDownloader.isServiceConnected(FileDownloader.java:555)
02-22 19:00:34.737 26466 26584 W System.err: at com.liulishuo.filedownloader.LostServiceConnectedHandler.dispatchTaskStart(LostServiceConnectedHandler.java:122)
02-22 19:00:34.737 26466 26584 W System.err: at com.liulishuo.filedownloader.DownloadTaskHunter.start(DownloadTaskHunter.java:582)
02-22 19:00:34.737 26466 26584 W System.err: at com.liulishuo.filedownloader.FileDownloadTaskLauncher$LaunchTaskRunnable.run(FileDownloadTaskLauncher.java:155)
02-22 19:00:34.737 26466 26584 W System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
02-22 19:00:34.737 26466 26584 W System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
02-22 19:00:34.737 26466 26584 W System.err: at java.lang.Thread.run(Thread.java:818)
02-22 19:00:34.737 26466 26584 W System.err: Caused by: java.lang.IllegalStateException: Please invoke the 'FileDownloader#setup' before using FileDownloader. If you want to register some components on FileDownloader please invoke the 'FileDownloader#setupOnApplicationOnCreate' on the 'Application#onCreate' first.
02-22 19:00:34.737 26466 26584 W System.err: at com.liulishuo.filedownloader.util.FileDownloadProperties.
02-22 19:00:34.737 26466 26584 W System.err: at com.liulishuo.filedownloader.util.FileDownloadProperties.
02-22 19:00:34.737 26466 26584 W System.err: at com.liulishuo.filedownloader.util.FileDownloadProperties$HolderClass.
02-22 19:00:34.737 26466 26584 W System.err: ... 12 more
02-22 19:00:34.738 2772 3034 D PhoneApp: getPreferSlotIdForRafSupported: preferslotId =0, slotId =0, maxRafSupportedPhoneId = 0
Before Issue
FileDownloadLog.NEED_LOG=true
and review the Logcat output from main process and:filedownloader
process ( pay attention to Warn and Error level logcat)Issue
FileDownloadLog.NEED_LOG=true
?:filedownloader
process logcat请在Issue前认真的跟进上面提到的建议,这样将可以极大的加快你遇到问题的处理。