How to solve a file permission issue on android platform using QML development?
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
@jsulm I have allowed all permission. How can I do that?
@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.