Android SDK Connect to Web Server on Host

后端 未结 2 984
一向
一向 2020-12-30 16:54

I am building a web service, and an android app to utilize it. I am doing both through Eclipse. When I\'m running the web server locally, I can connect from my host machin

2条回答
  •  一向
    一向 (楼主)
    2020-12-30 17:29

    I think you can not connect through localhost. Try to access it though IP address. Because, emulator and Machine making a network.

提交回复
热议问题