How to solve a file permission issue on android platform using QML development?
Unsolved
Mobile and Embedded
-
I faced an error when I deploy my app using QML development on the android platform. I developed a file browser to look up the files.
The error message is:
W libtestProject.so: (null):0 ((null)): inotify_add_watch("/data/data") failed: "Permission denied" W libtestProject.so: (null):0 ((null)): inotify_add_watch("/data") failed: "Permission denied"
-
I faced an error when I deploy my app using QML development on the android platform. I developed a file browser to look up the files.
The error message is:
W libtestProject.so: (null):0 ((null)): inotify_add_watch("/data/data") failed: "Permission denied" W libtestProject.so: (null):0 ((null)): inotify_add_watch("/data") failed: "Permission denied"
@md612 Your app needs permission to access data storage. See https://developer.android.com/training/data-storage/files.html
-
@md612 Your app needs permission to access data storage. See https://developer.android.com/training/data-storage/files.html
-
@md612 Did you check the link I posted? "Obtain Permissions for External Storage" part.
See http://amin-ahmadi.com/2015/11/29/how-to-add-permissions-to-your-qt-android-app/ for an explanation.