{"id":417,"date":"2012-05-09T07:08:39","date_gmt":"2012-05-09T14:08:39","guid":{"rendered":"http:\/\/cknotes.com\/?p=417"},"modified":"2012-05-09T07:08:39","modified_gmt":"2012-05-09T14:08:39","slug":"android-socket-permission-denied-error","status":"publish","type":"post","link":"https:\/\/cknotes.com\/android-socket-permission-denied-error\/","title":{"rendered":"Android Socket Permission Denied Error"},"content":{"rendered":"<p>If the LastErrorText contains a line such as this:<\/p>\n<pre>socketError: Permission denied<\/pre>\n<p>It means you need to add permissions for Internet communications in your manifest. It should be placed outside of the application tag, such as:<\/p>\n<pre>\r\n&lt;manifest>\r\n    &lt;application>\r\n     .\r\n     .\r\n     .\r\n    &lt;\/application>\r\n    &lt;uses-permission android:name=\"android.permission.INTERNET\" \/>\r\n&lt;\/manifest>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If the LastErrorText contains a line such as this: socketError: Permission denied It means you need to add permissions for Internet communications in your manifest. It should be placed outside of the application tag, such as: &lt;manifest> &lt;application> . . . &lt;\/application> &lt;uses-permission android:name=&#8221;android.permission.INTERNET&#8221; \/> &lt;\/manifest><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[537,435,346,488],"class_list":["post-417","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-android","tag-error-messages","tag-permission","tag-socket"],"_links":{"self":[{"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/posts\/417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/comments?post=417"}],"version-history":[{"count":0,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/posts\/417\/revisions"}],"wp:attachment":[{"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/media?parent=417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/categories?post=417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/tags?post=417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}