NextVersions icon indicating copy to clipboard operation
NextVersions copied to clipboard

(华为H60-L01手机,android 4.4.2)适配问题,thread exiting with uncaught exception

Open yanyusong opened this issue 8 years ago • 0 comments

项目中一直在用您的这个自动更新库,但是在同事的华为H60-L01手机上总是不能更新成功,出现“应用停止运行”,其他手机上暂时没发现这个问题,打断点是在如下代码处开始出错,希望您能帮忙解决,谢谢您, 在Downloads类的submit函数 long id = download.enqueue(request);处; public long submit(Context context, Version version){ DownloadManager download = (DownloadManager)context.getSystemService(Context.DOWNLOAD_SERVICE); Uri uri = Uri.parse(version.URL); DownloadManager.Request request = new DownloadManager.Request(uri); request.setTitle(version.name); long id = download.enqueue(request); KEEPS.add(id); return id; }

yanyusong avatar Jul 06 '16 11:07 yanyusong