Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to solve a file permission issue on android platform using QML development?

How to solve a file permission issue on android platform using QML development?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 1.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    md612
    wrote on last edited by
    #1

    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"
    
    jsulmJ 1 Reply Last reply
    0
    • M md612

      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"
      
      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @md612 Your app needs permission to access data storage. See https://developer.android.com/training/data-storage/files.html

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 1 Reply Last reply
      0
      • jsulmJ jsulm

        @md612 Your app needs permission to access data storage. See https://developer.android.com/training/data-storage/files.html

        M Offline
        M Offline
        md612
        wrote on last edited by md612
        #3

        @jsulm I have allowed all permission. How can I do that?

        jsulmJ 1 Reply Last reply
        0
        • M md612

          @jsulm I have allowed all permission. How can I do that?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @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.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved