如何从Genymotion 2.6.0访问localhost?

时间:2017-04-05 09:44:57

标签: android web-services

http://10.0.3.2/script.php

给定的网址对我不起作用

1 个答案:

答案 0 :(得分:0)

打开cmd,输入ipconfig并查找您的PC IPv4,复制IP地址并将其粘贴到URL中,以便网址看起来像

String url = "http://IPV4Address:8888/index.php";