//使用系统下载器下载使用到
//sdcard的目录下的download文件夹,必须设置
request.setDestinationInExternalPublicDir("/download/",versionName);
报错:不是标准目录之一:下载
java.lang.IllegalStateException: Not one of standard directories: /download/
改为:
request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS,File.separator + versionName);
即可。



