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

 找回密码
 注册
搜索

[教学]android InputStreamReader错误SocketException: Permission denied

[复制链接]
发表于 2011-8-15 22:52:03 | 显示全部楼层 |阅读模式
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

手机版|大马资讯论坛  

GMT+8, 2022-9-30 08:11 , Processed in 0.073154 second(s), 15 queries , File On.

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表