详细问题描述
java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.jnjx.app/downloads/dt421555408056559.download (No such file or directory)
2019-04-16 17:47:36.912 25080-25673/com.jnjx.app W/System.err: at java.io.FileOutputStream.open0(Native Method)
2019-04-16 17:47:36.912 25080-25673/com.jnjx.app W/System.err: at java.io.FileOutputStream.open(FileOutputStream.java:287)
2019-04-16 17:47:36.912 25080-25673/com.jnjx.app W/System.err: at java.io.FileOutputStream.<init>(FileOutputStream.java:223)
2019-04-16 17:47:36.912 25080-25673/com.jnjx.app W/System.err: at io.dcloud.net.JsDownload.saveDownloadState(JsDownload.java:321)
2019-04-16 17:47:36.912 25080-25673/com.jnjx.app W/System.err: at io.dcloud.net.JsDownload.onStateChanged(JsDownload.java:313)
2019-04-16 17:47:36.912 25080-25673/com.jnjx.app W/System.err: at io.dcloud.net.JsDownload.onReceiving(JsDownload.java:519)
2019-04-16 17:47:36.912 25080-25673/com.jnjx.app W/System.err: at io.dcloud.net.DownloadNetWork.onReceiveing(DownloadNetWork.java:80)
2019-04-16 17:47:36.912 25080-25673/com.jnjx.app W/System.err: at io.dcloud.net.DownloadNetWork.response(DownloadNetWork.java:112)
2019-04-16 17:47:36.912 25080-25673/com.jnjx.app W/System.err: at io.dcloud.net.DownloadNetWork.connect(DownloadNetWork.java:293)
2019-04-16 17:47:36.912 25080-25673/com.jnjx.app W/System.err: at io.dcloud.net.DownloadNetWork.initUploadData(DownloadNetWork.java:146)
2019-04-16 17:47:36.912 25080-25673/com.jnjx.app W/System.err: at io.dcloud.net.DownloadNetWork.run(DownloadNetWork.java:97)
2019-04-16 17:47:36.912 25080-25673/com.jnjx.app W/System.err: at java.lang.Thread.run(Thread.java:784)
[内容]
/storage/emulated/0/Android/data/com.jnjx.app/downloads/dt421555408056559.download
查看sdk,路径downloads 这个目录不存在,所以猜测下载会失败
更新到 Android-SDK@1.9.9.61555_20190412 这个版本,离线版本包出现这个问题
重现步骤
[步骤]
[结果]
[期望]
[如果语言难以表述清晰,拍一个视频或截图,有图有真相]
IDE运行环境说明
[HBuilder 或 HBuilderX。如果你用其他工具开发uni-app,也需要在此说明]
HBuilder 1.9
[IDE版本号]
[windows版本号]
[mac版本号]
uni-app运行环境说明
[运行端是h5或app或某个小程序?]
[运行端版本号]
[项目是cli创建的还是HBuilderX创建的?如果是cli创建的,请更新到最新版cli再试]
[编译模式是老模板模式还是新的自定义组件模式?]
App运行环境说明
[Android版本号]
android 8
[iOS版本号]
[手机型号]
[模拟器型号]
附件
[IDE问题请提供HBuilderX运行日志。菜单帮助-查看运行日志,点右键打开文件所在目录,将log文件压缩成zip包上传]
[App问题请提供可重现问题的代码片段,你补充的细一点,问题就解决的快一点]
[App安装包或H5地址]
[可重现代码片段]
联系方式
[QQ]14100634
0 个回复