且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Android studio 应用程序与mysql的连接

更新时间:2022-10-31 15:53:13

如果您尝试通过模拟器连接,请使用 IP 地址 10.0.2.2 而不是 127.0.0.1代码>.这个 link 详细介绍了它.

If you are trying to connect through emulator, the use the IP address 10.0.2.2 instead of 127.0.0.1 . This link talks more about it.