Joint debugging of Android and WCF rest services

When developing an Android program and calling a web service (provided that the service is written by yourself), you need to

http://127.0.0.1/ or http://localhost/ Replace with http://10.0.2.2/

After debugging, change the address to the address after the web service is published.

Reproduced at: https://www.cnblogs.com/xl0715/p/3435549.html

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>