使用java实现极光推送总是推送不了.出现{}的错误.大神帮个忙啊

jpush
标签: #<Tag:0x00007fb83b3804a0>

(一一) #1
{}
	at cn.jpush.api.common.connection.NativeHttpClient._doRequest(NativeHttpClient.java:228)
	at cn.jpush.api.common.connection.NativeHttpClient.doRequest(NativeHttpClient.java:93)
	at cn.jpush.api.common.connection.NativeHttpClient.sendPost(NativeHttpClient.java:80)
	at cn.jpush.api.push.PushClient.sendPush(PushClient.java:119)
	at cn.jpush.api.JPushClient.sendPush(JPushClient.java:141)
	at cn.lj.pushTest.Main.push(Main.java:44)
	at cn.lj.pushTest.Main.main(Main.java:30)

(一一) #2

本人使用的是eclipse,导入的官网api包.导入后没有报错,运行PushExample.就出现上述错误,这是出的错.

17/10/30 05:44:35 INFO connection.NativeHttpClient: Created instance with connectionTimeout 5,000, readTimeout 30,000, maxRetryTimes 3, SSL Version TLS
17/10/30 05:44:36 INFO connection.NativeHttpClient: Created instance with connectionTimeout 5,000, readTimeout 30,000, maxRetryTimes 3, SSL Version TLS
17/10/30 05:44:36 INFO connection.NativeHttpClient: Created instance with connectionTimeout 5,000, readTimeout 30,000, maxRetryTimes 3, SSL Version TLS
17/10/30 05:44:36 INFO connection.NativeHttpClient: Created instance with connectionTimeout 5,000, readTimeout 30,000, maxRetryTimes 3, SSL Version TLS
17/10/30 05:44:36 DEBUG connection.NativeHttpClient: Send request - POST https://api.jpush.cn/v3/push
17/10/30 05:44:36 DEBUG connection.NativeHttpClient: Request Content - {"platform":["android","ios"],"audience":"all","notification":{"alert":"alert content","ios":{"alert":"alert content","extras":{"extra_key":"extra_value"},"badge":"+1","sound":""},"android":{"alert":"alert content","extras":{"test":"https://community.jiguang.cn/push"},"title":"Android Title"}},"options":{"sendno":25042408,"apns_production":false}}
17/10/30 05:44:37 DEBUG resp.ResponseWrapper: JPush API Rate Limiting params - quota:600, remaining:599, reset:60
17/10/30 05:44:37 WARN connection.NativeHttpClient: Got error response - responseCode:400, responseContent:{"msg_id": 1135607134, "error": {"message": "cannot find user by this audience", "code": 1011}}
17/10/30 05:44:37 ERROR connection.NativeHttpClient: Your request params is invalid. Please check them according to error message.
17/10/30 05:44:37 ERROR examples.PushExample: Error response from JPush server. Should review and fix it. 
{}
	at cn.jiguang.common.connection.NativeHttpClient._doRequest(NativeHttpClient.java:235)
	at cn.jiguang.common.connection.NativeHttpClient.doRequest(NativeHttpClient.java:99)
	at cn.jiguang.common.connection.NativeHttpClient.sendPost(NativeHttpClient.java:86)
	at cn.jpush.api.push.PushClient.sendPush(PushClient.java:163)
	at cn.jpush.api.JPushClient.sendPush(JPushClient.java:193)
	at cn.jpush.api.examples.PushExample.testSendPush(PushExample.java:94)
	at cn.jpush.api.examples.PushExample.main(PushExample.java:55)
17/10/30 05:44:37 INFO examples.PushExample: HTTP Status: 400
17/10/30 05:44:37 INFO examples.PushExample: Error Code: 1011
17/10/30 05:44:37 INFO examples.PushExample: Error Message: cannot find user by this audience
17/10/30 05:44:37 INFO examples.PushExample: Msg ID: 1135607134
17/10/30 05:44:37 ERROR examples.PushExample: Sendno: 25042408

(一一) #3

有大神帮忙解决下马?跪求啊


#4