最近有用到JPush,appkey和masterSecret都是注册的。在本地建立项目后,直接运行,报下列错误
at cn.jpush.api.common.connection.NativeHttpClient._doRequest(NativeHttpClient.java:208)
at cn.jpush.api.common.connection.NativeHttpClient.doRequest(NativeHttpClient.java:72)
at cn.jpush.api.common.connection.NativeHttpClient.sendPost(NativeHttpClient.java:64)
at cn.jpush.api.push.PushClient.sendPush(PushClient.java:111)
at cn.jpush.api.JPushClient.sendPush(JPushClient.java:88)
at com.nlem.PushExample.testSendPush(PushExample.java:51)
at com.nlem.PushExample.main(PushExample.java:37)
都是按照JPushExample运行的,不知道为什么会报这个错!求教