开发者

Cannot access the internet while i debug android on device

I'm trying to develop an android application 开发者_运维技巧that uses network connection. The server is up and running, but when i am trying to access it from the device that runs the android app (in debug mode-using eclipse) it outputs a message that 'cannot find the server' after a UnknownHostException occurs! I have tested the server with a java application and it works fine! What is the problem then with the device?


check your Mainfest.xml file for this line...

<uses-permission android:name="android.permission.INTERNET" />
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜