Geeks, please accept the hero post of 2021 Microsoft x Intel hacking contest>>>
Permission denied (may missing Internet permission) error resolution
This is a classic error, socket can not be external connection, error will not be reported, debugging, you can see exception.
The reason is: you need to access the network, so in androidmanifest.xml, you need to configure as follows:
& lt; manifest>
// add the following license
< uses-permission android:name= “android.permission.INTERNET” />
</ manifest>
The relevant visual configuration can be added through eclipse’s XML visual editing tool