简体   繁体   中英

Rest API call in Android using Retrofit

i want to build a GPS Android App with Rest APIs requests using Retrofit. However, I have a problem with a requets. The response.body() is null. All of my other requests work fine. I hope someone can help me...

请求类 错误代码 邮差

Exception is saying that response.body() returns null. You can set breakpoint on this line and check if it is null or not.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM