相关疑难解决方法(0)

从Android模拟器访问localhost:port

我正在运行的本地计算机上运行Web服务localhost:54722.

我想从Android模拟器中运行的应用程序调用该服务.

我读到10.0.2.2在应用程序中使用将访问localhost,但它似乎也不适用于端口号.它说HttpResponseException: Bad Request.

port android localhost android-emulator

200
推荐指数
11
解决办法
16万
查看次数

标签 统计

android ×1

android-emulator ×1

localhost ×1

port ×1