I'm trying to run a debug hello world
app, but I only get the following error: "Can not open socket: Permission denied". I didn't change any of the default permissions of the "new project". When running a Delphi sample "AccessCameraApp" app, under Embarcadero\Studio\20.0\Samples\Object Pascal\Mobile Snippets\AccessCameraApp
, the same error occurs.
I'm using a MotoG6 mobile device with Android 8.0.0, Delphi 10.3 on Windows 10.
SIMULATE ERROR: By pressing F9 to run the application, the program is compiled correctly and installed on the device, however Debug is interrupted and the debugging of Delphi simply stops when app starts. But the app still runs on the device.
I have already read the Embarcadero pages related to the subject, but I could not solve it: http://docwiki.embarcadero.com/RADStudio/Rio/en/Android_Permission_Model http://docwiki.embarcadero.com/RADStudio/Rio/en/Uses_Permissions http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Running_Your_Android_Application_on_an_Android_Device#Running_Your_Application_with_Clean_Data_and_Cache_Folders