Reputation: 135
I am experiencing the same error when running with debugging on Android 32-bit platform while on 64-bit has no issue. The debugger just stopped and exited but the app was able to open on my device.
Here's the error:
Can't open socket: Permission denied.
Exiting.
I thought this was within my app codes error but when I tried a new blank multi-device form, I was getting the same error. So, I suspect this issue is not from my code but a Delphi debugger glitch.
Has anyone here experienced the same issue and was able to resolve this. Otherwise, I will take my chances with Embarcadero support.
Upvotes: 1
Views: 538
Reputation: 595497
The IDE has known problems debugging Android apps. Make sure you have the latest patches installed, such as this one:
Delphi 10.3.3 Android Debugging Patch
As the page says:
The patch is available at https://cc.embarcadero.com/item/30904. Full installation instructions are located in the readme.
Upvotes: 2