扫码关注官方订阅号
I/System.out( 922): mkdir failed: EACCES (Permission denied) path = /storage/sdcard1/com.ayst.healthkit
小伙看你根骨奇佳,潜力无限,来学PHP伐。
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.
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
扫描下载App
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
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.