BindException with INTERNET permission requested

前端 未结 2 762
无人共我
无人共我 2020-12-18 02:09

I have seen several questions regarding SocketException when using Android, but none of them cover the BindException that I get even with the INTERNET permission specified i

相关标签:
2条回答
  • 2020-12-18 02:22

    Try add permission android.permission.INTERNET it worked for me

    0 讨论(0)
  • 2020-12-18 02:36

    anyone know how to bind to ports lower than 1024 in Android?

    Either root your phone, modify the firmware, or don't bind to ports lower than 1024. That's a Linux thing more than an Android thing.

    0 讨论(0)
提交回复
热议问题