I/System.out( 922): mkdir failed: EACCES (Permission denied) path = /storage/sdcard1/com.ayst.healthkit
I/System.out( 922): mkdir failed: EACCES (Permission denied) path = /storage/sdcard1/com.ayst.healthkit
2 回答1.3k 阅读✓ 已解决
2 回答2.7k 阅读
2 回答1.8k 阅读
1 回答2.1k 阅读
1 回答1.2k 阅读
1 回答1.3k 阅读
1 回答601 阅读✓ 已解决
Android 4.4 取消了非内置应用的第二个及以上外置存储器的写权限,但是这个存储器有个目录除外.../Android/data/data/packe-name/
附上官方解释:
http://developer.android.com/intl/zh-cn/guide/topics/data/data-storage.html#filesExternal
Note: Beginning with Android 4.4, these permissions are not required if you're reading or writing only files that are private to your app. For more information, see the section below about saving files that are app-private.