Failed to retrieve API configs with status: 404 - Google App Engine

前端 未结 3 2008
闹比i
闹比i 2021-01-01 17:27

I\'m trying to debug the helloword sample on real device. After lots of searching, I\'ve managed to do some settings.

What I did to debug on real device:

    <
3条回答
  •  难免孤独
    2021-01-01 18:12

    How can i access my localhost from my android device?

    USB doesn't provide network to mobile device. If it's connected to your wifi, then hit your laptop address provided by the router. If it's connected to your mobile network, then first find out your router external IP address, then forward some port to that 10.0.2.2:portno and finally you'll be able to see that server from your device.

    You used 192.168.1.107 as your IP, which looks like an internal IP address to me. Try if setting your external IP address fixes the problem.

提交回复
热议问题