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. Permission Error in Android Device
Forum Updated to NodeBB v4.3 + New Features

Permission Error in Android Device

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 566 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.
  • V Offline
    V Offline
    Vikere
    wrote on last edited by
    #1

    Hello,

    I am quite new to Android app development. I had a Window app developed on Qt for serial port. I cross-compiled it for Android phone. It successfully build and run on Android Phone as well, but when I try to connect to the available serial Port I got an error saying - "Permission Error: Unable to create Lock file." I cross verified with other available Google Play store app for serial port, it is working fine with it.

    I tried google for similar issue, I got some reference but unable to fix the issue. Please let me know if anyone have simpler & straightforward way of fixing it.

    Thanks

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kuzulis
      Qt Champions 2020
      wrote on last edited by kuzulis
      #2

      QSP does not supported on Android in common case. It can work (theoretically) only with the rooted Android devices, when an application starts with the root rights.

      I want to say, that this "Permission Error: Unable to create Lock file." maybe can be fixed by modification of the QSP sources. But, next you will got a new error, related to permission rights for opening of device.

      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