大马资讯论坛 - 马来西亚中文资讯平台

标题: [教学]android InputStreamReader错误SocketException: Permission denied [打印本页]

作者: 资讯王    时间: 2011-8-15 22:52
标题: [教学]android InputStreamReader错误SocketException: Permission denied
Android错误java.net.SocketException: Permission denied.

添加INTERNET权限在你的manifest档案
Add the INTERNET permission to your manifest file.

你需要加一行:
You have to add this line:
  1. <uses-permission android:name="android.permission.INTERNET" />
复制代码
到AndroidManifest.xml添加即可
outside the application tag in your AndroidManifest.xml




欢迎光临 大马资讯论坛 - 马来西亚中文资讯平台 (http://freeinfo.com.my/) Powered by Discuz! X3.3