0
我需要连接到本地SQL Server,但低于运行时代码,Android开连接到SQL Server
con = DriverManager.getConnection("jdbc:jtds:sqlserver://10.0.3.2:8080/app", "test", "1234");
的logcat的显示警告信息:
06-10 01:24:22.112 2676-2676/com.example.androidapp.helloandroid W/EGL_genymotion﹕ eglSurfaceAttrib not implemented
我不知道是什么做的警告信息意味着?我试图GOOGLE搜索,他们推荐使用localhost/127.0.0.1/10.0.2.2/10.0.3.2/(local ip address) or remove port number
,但它不工作...
好的。稍后再试。但是,我可以知道警告信息的含义吗? – ckcheah
'那么使用一个IP地址?他已经尝试过三次了。你忘了告诉哪个IP地址。 '如果你能够从另一台机器ping该ip,那么只有我们可以从你的android设备访问它。没有那个是不需要的。如果您想使用ping,请尝试从设备ping服务器。 – greenapps
是私有IP,例如10.1.0.95/192.168.1.201 .. – ckcheah