[AC-682] Android 6.0 (Post 5.2.0 SDK): java.io.FileNotFoundException: open failed: ENOENT (No such file or directory)
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2016-02-29T09:35:58.000+0000 |
Affected Version/s | Appcelerator Studio 4.4.0 |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Eric Cheung |
Assignee | Shak Hossain |
Created | 2016-02-24T21:57:28.000+0000 |
Updated | 2016-02-29T09:35:58.000+0000 |
Description
I played around with the latest 5.2.0 SDK and Nexus 6P... for the most part everything seems to work except for one case with runtime permission. if I use Ti.Filesystem.tempDirectory as my storage and created the permission checks, this still fails on first try even if you accept the Permission. Log: {{[INFO] : Permission granted? true [ERROR] : TiFileProxy: (KrollRuntimeThread) [66154,66154] IOException encountered [ERROR] : TiFileProxy: java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.apptest.tempdirperm/cache/_tmp/GettingStartedTitanium_Linux.pdf: open failed: ENOENT (No such file or directory) [ERROR] : TiFileProxy: at libcore.io.IoBridge.open(IoBridge.java:452) [ERROR] : TiFileProxy: at java.io.FileOutputStream.Attachments
File | Date | Size |
---|---|---|
index.js | 2016-02-24T21:55:43.000+0000 | 981 |
Screenshot_20160224-165334.png | 2016-02-24T21:56:46.000+0000 | 86518 |
Screenshot_20160224-165342.png | 2016-02-24T21:56:46.000+0000 | 64817 |