test the localhost in android emulator(在 android 模拟器中测试 localhost)
问题描述
My web application runs in localhost server. In my emulator the URL is http://localhost:8080/myaction
Is it possible to retrieve the information from the server?
Localhost is device's own loopback interface, if you're trying to access your development machine use 10.0.2.2.
More about it here.
这篇关于在 android 模拟器中测试 localhost的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!