Permission Error in Android Device



  • 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



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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.